From c9a11b2198ad9bdd35b21a21a702102fa1598f68 Mon Sep 17 00:00:00 2001 From: twanvl Date: Thu, 8 Jan 2009 17:32:43 +0000 Subject: [PATCH] fixed assert_tagged for release builds git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1305 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/util/tagged_string.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/tagged_string.hpp b/src/util/tagged_string.hpp index 2e65d0b7..8367d953 100644 --- a/src/util/tagged_string.hpp +++ b/src/util/tagged_string.hpp @@ -187,7 +187,7 @@ void check_tagged(const String& str, bool check_balance = true); #ifdef _DEBUG #define assert_tagged check_tagged #else - #define assert_tagged(_,_) + inline void assert_tagged(const String& str, bool check_balance = true){} #endif /// Simplify a tagged string