aboutsummaryrefslogtreecommitdiff
path: root/src/include/fst/edit-fst.h
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2013-03-04 11:30:34 +0000
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2013-03-04 11:30:34 +0000
commit5bf56ba7027cd5f22ff52d0138893f7a585135fb (patch)
tree19e17fc79b8873e66f211276d4dd169c480cede1 /src/include/fst/edit-fst.h
parent3da1eb108d36da35333b2d655202791af854996b (diff)
parent5b6dc79427b8f7eeb6a7ff68034ab8548ce670ea (diff)
downloadopenfst-5bf56ba7027cd5f22ff52d0138893f7a585135fb.tar.gz
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());