summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-10-15 13:57:02 +0000
committerGordon Sim <gsim@apache.org>2007-10-15 13:57:02 +0000
commit44755686b6aeea96a3a5fbace84ddd62c9d8bbb2 (patch)
treec1a2b517584d75bd873a434d114e6173b6a2f8c7 /cpp
parentd09c1c538deecfa9b30b84cf42e9ece06364a66f (diff)
downloadqpid-python-44755686b6aeea96a3a5fbace84ddd62c9d8bbb2.tar.gz
Fix compilation error
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@584792 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/assert.cpp2
1 files changed, 1 insertions, 1 deletions
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();