diff options
author | Gordon Sim <gsim@apache.org> | 2007-10-15 13:57:02 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-10-15 13:57:02 +0000 |
commit | 70860aeefd38dd0a16bdac23fd3733338a760e8b (patch) | |
tree | 9473d7294da1f84d36e71ab5a847fc2331968a63 /qpid/cpp/src | |
parent | 6a70e3ab913f36567a952ba79a0457d30538d317 (diff) | |
download | qpid-python-70860aeefd38dd0a16bdac23fd3733338a760e8b.tar.gz |
Fix compilation error
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@584792 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r-- | qpid/cpp/src/qpid/assert.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |