diff options
author | = <=> | 2013-09-25 03:46:32 +0400 |
---|---|---|
committer | = <=> | 2013-09-25 03:46:32 +0400 |
commit | 13c9a44f3d2d2dc21a66e48abf40326b6b30c759 (patch) | |
tree | 9d1af182d640b5861ad853c6e4f744509e32ed72 /moses/Phrase.cpp | |
parent | 62ad7cae6a177c57ba5359bc6b4e338bd12c139e (diff) |
Phrase::Contains(const Phrase& sought) throws exception, since it's not implemented yet. Added return value to make the compiler shut up.
Diffstat (limited to 'moses/Phrase.cpp')
-rw-r--r-- | moses/Phrase.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/Phrase.cpp b/moses/Phrase.cpp index 77e099830..f2ae26172 100644 --- a/moses/Phrase.cpp +++ b/moses/Phrase.cpp @@ -375,7 +375,8 @@ void Phrase::InitStartEndWord() bool Phrase::Contains(const Phrase &sought) const { - + throw "THIS FUNCTION IS NOT IMPLEMENTED YET!"; + return false; } TO_STRING_BODY(Phrase); |