diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-11-23 00:27:46 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-11-23 00:27:46 +0400 |
commit | f13d0c824456b91fef2588261cbe52ce24c665ba (patch) | |
tree | 4c24ab4dff0c05840bcea2333ac522d9b956f7cf /moses/Phrase.h | |
parent | 028edf85501013ea06d575c67b5647f939f1f149 (diff) |
UTIL_THROW_IF -> UTIL_THROW_IF2
Diffstat (limited to 'moses/Phrase.h')
-rw-r--r-- | moses/Phrase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Phrase.h b/moses/Phrase.h index 325050741..1de00bfdf 100644 --- a/moses/Phrase.h +++ b/moses/Phrase.h @@ -155,7 +155,7 @@ public: } void RemoveWord(size_t pos) { - UTIL_THROW_IF(pos >= m_words.size(), util::Exception, + UTIL_THROW_IF2(pos >= m_words.size(), "Referencing position " << pos << " out of bound"); m_words.erase(m_words.begin() + pos); } |