aboutsummaryrefslogtreecommitdiff
path: root/src/include/fst/edit-fst.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/fst/edit-fst.h')
-rw-r--r--src/include/fst/edit-fst.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/fst/edit-fst.h b/src/include/fst/edit-fst.h
index 303cb24..bd33b9d 100644
--- a/src/include/fst/edit-fst.h
+++ b/src/include/fst/edit-fst.h
@@ -25,6 +25,10 @@ using std::vector;
#include <fst/cache.h>
+#include <tr1/unordered_map>
+using std::tr1::unordered_map;
+using std::tr1::unordered_multimap;
+
namespace fst {
// The EditFst class enables non-destructive edit operations on a wrapped
@@ -431,7 +435,8 @@ class EditFstImpl : public FstImpl<A> {
// A copy constructor for this implementation class, used to implement
// the Copy() method of the Fst interface.
EditFstImpl(const EditFstImpl &impl)
- : wrapped_(static_cast<WrappedFstT *>(impl.wrapped_->Copy(true))),
+ : FstImpl<A>(),
+ wrapped_(static_cast<WrappedFstT *>(impl.wrapped_->Copy(true))),
data_(impl.data_) {
data_->IncrRefCount();
SetProperties(impl.Properties());