diff options
Diffstat (limited to 'src/include/fst/string.h')
-rw-r--r-- | src/include/fst/string.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/fst/string.h b/src/include/fst/string.h index 3099b87..d51182e 100644 --- a/src/include/fst/string.h +++ b/src/include/fst/string.h @@ -24,6 +24,7 @@ #define FST_LIB_STRING_H_ #include <fst/compact-fst.h> +#include <fst/icu.h> #include <fst/mutable-fst.h> DECLARE_string(fst_field_separator); @@ -48,7 +49,7 @@ class StringCompiler { // Compile string 's' into FST 'fst'. template <class F> - bool operator()(const string &s, F *fst) { + bool operator()(const string &s, F *fst) const { vector<Label> labels; if (!ConvertStringToLabels(s, &labels)) return false; |