summaryrefslogtreecommitdiff
path: root/ACE/protocols
diff options
context:
space:
mode:
authorAdam Mitz <mitza@ociweb.com>2018-09-07 16:25:09 -0500
committerAdam Mitz <mitza@ociweb.com>2018-09-07 16:25:09 -0500
commit141d42047ca42cbd011c01ff1f7cc395b4a1b37f (patch)
tree782df4d56c4a7c442d6172a4e297df6318c63b1e /ACE/protocols
parent8024f9ae9fc8acce347ebd765cf08e550823c111 (diff)
downloadATCD-141d42047ca42cbd011c01ff1f7cc395b4a1b37f.tar.gz
Fixed warning from clang
Diffstat (limited to 'ACE/protocols')
-rw-r--r--ACE/protocols/ace/TMCast/TransactionController.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ACE/protocols/ace/TMCast/TransactionController.hpp b/ACE/protocols/ace/TMCast/TransactionController.hpp
index 43ff7a9ee8c..3165f551931 100644
--- a/ACE/protocols/ace/TMCast/TransactionController.hpp
+++ b/ACE/protocols/ace/TMCast/TransactionController.hpp
@@ -342,7 +342,8 @@ namespace ACE_TMCast
MessagePtr m (in_.front ());
in_.pop ();
- if (typeid (*m) == typeid (Send))
+ Message const &msg = *m; // avoid warning for side-effects in typeid
+ if (typeid (msg) == typeid (Send))
{
send_ = SendPtr (m);
}