aboutsummaryrefslogtreecommitdiff
path: root/src/include/fst/edit-fst.h
diff options
context:
space:
mode:
authorAlexander Gutkin <agutkin@google.com>2013-02-28 00:24:20 +0000
committerAlexander Gutkin <agutkin@google.com>2013-02-28 00:24:20 +0000
commit5b6dc79427b8f7eeb6a7ff68034ab8548ce670ea (patch)
tree19e17fc79b8873e66f211276d4dd169c480cede1 /src/include/fst/edit-fst.h
parent3da1eb108d36da35333b2d655202791af854996b (diff)
downloadopenfst-5b6dc79427b8f7eeb6a7ff68034ab8548ce670ea.tar.gz
Bumped OpenFST implementation to openfst-1.3.3-CL41851770.
Updated OpenFST implementation to the most recent version used by Greco3 (corresponds to nlp::fst exported at Perforce CL 41851770). In particular this version has an improved PDT support. Change-Id: I5aadfc962297eef73922c67e7d57866f11ee7d81
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());