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 | 46ebf5fb57eda5044f57486a53bf822efc21f3a0 (patch) | |
| tree | ab0bb405f718fd4aa17618c15b7d7793f14186c7 /qpid/cpp/include | |
| parent | 5fd5cf30f8e75be381e1f1e6996f8d6983f736d3 (diff) | |
| download | qpid-python-46ebf5fb57eda5044f57486a53bf822efc21f3a0.tar.gz | |
Replaced some unnecessary streaming operators ("<<") with preprocessor string concatenation
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@939068 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
| -rw-r--r-- | qpid/cpp/include/qpid/Msg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/include/qpid/Msg.h b/qpid/cpp/include/qpid/Msg.h index 6e08a89571..a4450eb34c 100644 --- a/qpid/cpp/include/qpid/Msg.h +++ b/qpid/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 |
