From 70860aeefd38dd0a16bdac23fd3733338a760e8b 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@584792 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/assert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/src') diff --git a/qpid/cpp/src/qpid/assert.cpp b/qpid/cpp/src/qpid/assert.cpp index 82db22b0cc..dba81f3873 100644 --- a/qpid/cpp/src/qpid/assert.cpp +++ b/qpid/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