Fix offdevice TRT build

Change-Id: Idc2f3897e592433c13361bd8af94530d81621764
This commit is contained in:
Ken Wakasa 2013-12-06 19:43:30 +09:00
parent 4d02aa4e8c
commit f925b1e34a

View file

@ -17,6 +17,7 @@
#ifndef LATINIME_UNIGRAM_PROPERTY_H #ifndef LATINIME_UNIGRAM_PROPERTY_H
#define LATINIME_UNIGRAM_PROPERTY_H #define LATINIME_UNIGRAM_PROPERTY_H
#include <cstring>
#include <vector> #include <vector>
#include "defines.h" #include "defines.h"
@ -31,8 +32,7 @@ class UnigramProperty {
UnigramProperty() UnigramProperty()
: mCodePoints(), mCodePointCount(0), mIsNotAWord(false), mIsBlacklisted(false), : mCodePoints(), mCodePointCount(0), mIsNotAWord(false), mIsBlacklisted(false),
mHasBigrams(false), mHasShortcuts(false), mProbability(NOT_A_PROBABILITY), mHasBigrams(false), mHasShortcuts(false), mProbability(NOT_A_PROBABILITY),
mTimestamp(0), mLevel(0), mCount(0), mShortcutTargets(), mTimestamp(0), mLevel(0), mCount(0), mShortcutTargets(), mShortcutProbabilities() {}
mShortcutProbabilities() {}
UnigramProperty(const UnigramProperty &unigramProperty) UnigramProperty(const UnigramProperty &unigramProperty)
: mCodePoints(), mCodePointCount(unigramProperty.mCodePointCount), : mCodePoints(), mCodePointCount(unigramProperty.mCodePointCount),