qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r584792 - /incubator/qpid/trunk/qpid/cpp/src/qpid/assert.cpp
Date Mon, 15 Oct 2007 13:57:02 GMT
Author: gsim
Date: Mon Oct 15 06:57:02 2007
New Revision: 584792

URL: http://svn.apache.org/viewvc?rev=584792&view=rev
Log:
Fix compilation error


Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/assert.cpp

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/assert.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/assert.cpp?rev=584792&r1=584791&r2=584792&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/assert.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/assert.cpp Mon Oct 15 06:57:02 2007
@@ -32,7 +32,7 @@
     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();



Mime
View raw message