From 38f7ed8efb6621d55a705bb7af4ba5a21495113a Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 9 Jul 2012 16:11:46 +0000 Subject: Remove BOTAN_ASSERT_FUNCTION, use __func__ which is now standard in C++11 --- src/utils/assert.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/utils/assert.cpp') diff --git a/src/utils/assert.cpp b/src/utils/assert.cpp index 3747912d6..4b69b4420 100644 --- a/src/utils/assert.cpp +++ b/src/utils/assert.cpp @@ -12,7 +12,7 @@ namespace Botan { void assertion_failure(const char* expr_str, - const char* msg, + const char* assertion_made, const char* func, const char* file, int line) @@ -21,8 +21,8 @@ void assertion_failure(const char* expr_str, format << "Assertion " << expr_str << " failed "; - if(msg && msg[0] != 0) - format << "(" << msg << ") "; + if(assertion_made && assertion_made[0] != 0) + format << "(" << assertion_made << ") "; if(func) format << "in " << func << " "; -- cgit v1.2.3