Fix offdevice TRT build
Change-Id: Idc2f3897e592433c13361bd8af94530d81621764
This commit is contained in:
parent
4d02aa4e8c
commit
f925b1e34a
1 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue