diff options
author | Alexander Gutkin <agutkin@google.com> | 2012-09-12 18:11:43 +0100 |
---|---|---|
committer | Alexander Gutkin <agutkin@google.com> | 2012-09-12 18:11:43 +0100 |
commit | dfd8b8327b93660601d016cdc6f29f433b45a8d8 (patch) | |
tree | 968ec84b8e32ad73ec18d74334930f36b7471906 /src/lib/util.cc | |
parent | f4c12fce1ee58e670f9c3fce46c40296ba9ee8a2 (diff) | |
download | openfst-dfd8b8327b93660601d016cdc6f29f433b45a8d8.tar.gz |
Updated OpenFST version to openfst-1.3.2-CL32004048 from Greco3.
Change-Id: I19b0db718256b35c0e3e5a7315f1ed6335e6dcac
Diffstat (limited to 'src/lib/util.cc')
-rw-r--r-- | src/lib/util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index eeba92b..f754da5 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -26,7 +26,7 @@ DEFINE_bool(fst_error_fatal, true, "FST errors are fatal; o.w. return objects flagged as bad: " - " e.g., FSTs - kError prop. true, FST weights - not a member()"); + " e.g., FSTs - kError prop. true, FST weights - not a Member()"); namespace fst { @@ -49,7 +49,7 @@ int64 StrToInt64(const string &s, const string &src, size_t nline, void Int64ToStr(int64 n, string *s) { ostringstream nstr; nstr << n; - *s = nstr.str(); + s->append(nstr.str().data(), nstr.str().size()); } void ConvertToLegalCSymbol(string *s) { |