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/RuleCube.h | |
parent | 028edf85501013ea06d575c67b5647f939f1f149 (diff) |
UTIL_THROW_IF -> UTIL_THROW_IF2
Diffstat (limited to 'moses/RuleCube.h')
-rw-r--r-- | moses/RuleCube.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/RuleCube.h b/moses/RuleCube.h index e6d8ac3f6..512a366ef 100644 --- a/moses/RuleCube.h +++ b/moses/RuleCube.h @@ -97,7 +97,7 @@ public: ~RuleCube(); float GetTopScore() const { - UTIL_THROW_IF(m_queue.empty(), util::Exception, "Empty queue, nothing to pop"); + UTIL_THROW_IF2(m_queue.empty(), "Empty queue, nothing to pop"); RuleCubeItem *item = m_queue.top(); return item->GetScore(); } |