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/DecodeGraph.h | |
parent | 028edf85501013ea06d575c67b5647f939f1f149 (diff) |
UTIL_THROW_IF -> UTIL_THROW_IF2
Diffstat (limited to 'moses/DecodeGraph.h')
-rw-r--r-- | moses/DecodeGraph.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/moses/DecodeGraph.h b/moses/DecodeGraph.h index e25eaf45e..9c72ae907 100644 --- a/moses/DecodeGraph.h +++ b/moses/DecodeGraph.h @@ -78,9 +78,7 @@ public: } size_t GetMaxChartSpan() const { - UTIL_THROW_IF(m_maxChartSpan == NOT_FOUND, - util::Exception, - "Max chart span not specified"); + UTIL_THROW_IF2(m_maxChartSpan == NOT_FOUND, "Max chart span not specified"); return m_maxChartSpan; } |