diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2012-03-20 15:37:54 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2012-03-20 15:37:54 -0400 |
commit | 41c404d0139dc705835e65f04b82df369792546b (patch) | |
tree | 545b9467ff01af2ca350b02ada8f1497d509a2c4 /decoder/phrasetable_fst.cc | |
parent | 4a129e055387baf922f30f1502c6b6efad7dd8eb (diff) |
make c++11 compatible
Diffstat (limited to 'decoder/phrasetable_fst.cc')
-rw-r--r-- | decoder/phrasetable_fst.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/decoder/phrasetable_fst.cc b/decoder/phrasetable_fst.cc index f421e941..b3bec86b 100644 --- a/decoder/phrasetable_fst.cc +++ b/decoder/phrasetable_fst.cc @@ -9,7 +9,6 @@ #include "filelib.h" #include "tdict.h" -using boost::shared_ptr; using namespace std; TargetPhraseSet::~TargetPhraseSet() {} @@ -46,7 +45,7 @@ class TextFSTNode : public FSTNode { void ClearPassThroughTranslations(); private: vector<WordID> passthroughs; - shared_ptr<TargetPhraseSet> data; + boost::shared_ptr<TargetPhraseSet> data; map<WordID, TextFSTNode> ptr; }; |