diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-08 20:14:52 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-08 20:14:52 +0300 |
commit | d3e1af3a8c6599a134bdfea97ede4793b729b507 (patch) | |
tree | 4422fd7d4e3e6b39bc7f0da67ceda2fc4c7a8d6d /moses/FF/PhraseOrientationFeature.h | |
parent | 2a08da282f7916e7edbd098157da9691a7ba54be (diff) |
add operator==() to FFState. Get ready to use unordered_set in stacks
Diffstat (limited to 'moses/FF/PhraseOrientationFeature.h')
-rw-r--r-- | moses/FF/PhraseOrientationFeature.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/moses/FF/PhraseOrientationFeature.h b/moses/FF/PhraseOrientationFeature.h index d85be118a..d02e55107 100644 --- a/moses/FF/PhraseOrientationFeature.h +++ b/moses/FF/PhraseOrientationFeature.h @@ -141,6 +141,10 @@ public: }; virtual size_t hash() const; + virtual bool operator==(const FFState& other) const + { + UTIL_THROW2("TODO:Haven't figure this out yet"); + } protected: |