diff options
author | phkoehn <phkoehn@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-08-30 00:07:51 +0400 |
---|---|---|
committer | phkoehn <phkoehn@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-08-30 00:07:51 +0400 |
commit | 36391efb9914c2060d1477e229c62e37d194355b (patch) | |
tree | 336abda490ee7e3a45f1815875a0d245d845eaa2 /moses | |
parent | 0ffbcca545604cf31507d4aae3bae5f7733d7a18 (diff) |
test
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@797 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses')
-rw-r--r-- | moses/src/Util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/moses/src/Util.h b/moses/src/Util.h index 72db3903b..babf3b407 100644 --- a/moses/src/Util.h +++ b/moses/src/Util.h @@ -28,6 +28,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #include <vector> #include <cmath> #include <limits> +#include "TypeDef.h" #ifdef TRACE_ENABLE #define TRACE_ERR(str) { std::cerr << str; } @@ -36,6 +37,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #endif #define VERBOSE(level,str) { if (StaticData::Instance()->GetVerboseLevel() >= level) { std::cerr << str; } } +#define IFVERBOSE(level) if (StaticData::Instance()->GetVerboseLevel() >= level) template<typename T> inline std::string SPrint(const T &input) |