summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-04-28 20:02:18 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-04-28 20:02:18 +0000
commit5dca4a2fd6abdcd8c167dd74e24acc7c22ee6e56 (patch)
tree0847fef5675d51323baac56943773a19be804f1a /cpp/include
parentfd372c5f43cc94f96d287ad681f4d3a086efbb83 (diff)
downloadqpid-python-5dca4a2fd6abdcd8c167dd74e24acc7c22ee6e56.tar.gz
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
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/qpid/Msg.h2
1 files changed, 1 insertions, 1 deletions
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