diff options
Diffstat (limited to 'moses/FF/SkeletonStatefulFF.h')
-rw-r--r-- | moses/FF/SkeletonStatefulFF.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/moses/FF/SkeletonStatefulFF.h b/moses/FF/SkeletonStatefulFF.h index d51172b32..c9b297ecf 100644 --- a/moses/FF/SkeletonStatefulFF.h +++ b/moses/FF/SkeletonStatefulFF.h @@ -18,10 +18,9 @@ public: int Compare(const FFState& other) const; virtual size_t hash() const { - return (size_t) m_targetLen; + return (size_t) m_targetLen; } - virtual bool operator==(const FFState& o) const - { + virtual bool operator==(const FFState& o) const { const SkeletonState& other = static_cast<const SkeletonState&>(o); return m_targetLen == other.m_targetLen; } |