From 44755686b6aeea96a3a5fbace84ddd62c9d8bbb2 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 15 Oct 2007 13:57:02 +0000 Subject: Fix compilation error git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@584792 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/assert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') diff --git a/cpp/src/qpid/assert.cpp b/cpp/src/qpid/assert.cpp index 82db22b0cc..dba81f3873 100644 --- a/cpp/src/qpid/assert.cpp +++ b/cpp/src/qpid/assert.cpp @@ -32,7 +32,7 @@ void assert_fail(char const * expr, char const * function, char const * file, lo msg << "Internal error: " << expr << " in function " << function << "(" << file << ":" << line << ")"; #ifdef NDEBUG - throw framing::InternalErrorException(msg); + throw framing::InternalErrorException(msg.str()); #else std::cerr << msg << std::endl; abort(); -- cgit v1.2.1