From 1e8f35396e4d5722b7e9322d8784b3724f3ca093 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Wed, 28 Apr 2010 20:02:18 +0000 Subject: Replaced some unnecessary streaming operators ("<<") with preprocessor string concatenation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939068 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/Msg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/include') diff --git a/cpp/include/qpid/Msg.h b/cpp/include/qpid/Msg.h index 6e08a89571..a4450eb34c 100644 --- a/cpp/include/qpid/Msg.h +++ b/cpp/include/qpid/Msg.h @@ -69,7 +69,7 @@ inline std::ostream& operator<<(std::ostream& o, const Msg& m) { } /** 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 -- cgit v1.2.1