You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2010/04/28 22:02:18 UTC

svn commit: r939068 - /qpid/trunk/qpid/cpp/include/qpid/Msg.h

Author: astitcher
Date: Wed Apr 28 20:02:18 2010
New Revision: 939068

URL: http://svn.apache.org/viewvc?rev=939068&view=rev
Log:
Replaced some unnecessary streaming operators ("<<") with preprocessor string concatenation

Modified:
    qpid/trunk/qpid/cpp/include/qpid/Msg.h

Modified: qpid/trunk/qpid/cpp/include/qpid/Msg.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qpid/Msg.h?rev=939068&r1=939067&r2=939068&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/include/qpid/Msg.h (original)
+++ qpid/trunk/qpid/cpp/include/qpid/Msg.h Wed Apr 28 20:02:18 2010
@@ -69,7 +69,7 @@ inline std::ostream& operator<<(std::ost
 }
 
 /** Construct a message using operator << and append (file:line) */
-#define QPID_MSG(message) ::qpid::Msg() << message << " (" << __FILE__ << ":" << __LINE__ << ")"
+#define QPID_MSG(message) (::qpid::Msg() << message << " (" __FILE__ ":" "##__LINE__##" ")")
 
 } // namespace qpid
 



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org