diff options
author | Andrew Stitcher <astitcher@apache.org> | 2010-04-28 20:02:18 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2010-04-28 20:02:18 +0000 |
commit | 1e8f35396e4d5722b7e9322d8784b3724f3ca093 (patch) | |
tree | 0847fef5675d51323baac56943773a19be804f1a /cpp/include | |
parent | 53733662c8da9e336c869f5edcd31dc336070b1e (diff) | |
download | qpid-python-1e8f35396e4d5722b7e9322d8784b3724f3ca093.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.h | 2 |
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 |