qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r1101180 - /qpid/trunk/qpid/cpp/src/qpid/sys/StateMonitor.h
Date Mon, 09 May 2011 19:55:49 GMT
Author: astitcher
Date: Mon May  9 19:55:49 2011
New Revision: 1101180

URL: http://svn.apache.org/viewvc?rev=1101180&view=rev
Log:
QPID-3004: Get Clang to compile qpid c++
- Explicitly specify parent method as clang didn't find it
  [is this a clang++ 2.9 bug?]

Modified:
    qpid/trunk/qpid/cpp/src/qpid/sys/StateMonitor.h

Modified: qpid/trunk/qpid/cpp/src/qpid/sys/StateMonitor.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/sys/StateMonitor.h?rev=1101180&r1=1101179&r2=1101180&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/sys/StateMonitor.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/sys/StateMonitor.h Mon May  9 19:55:49 2011
@@ -41,9 +41,9 @@ class StateMonitor : public Waitable
     struct Set : public std::bitset<MaxEnum + 1> {
         Set() {}
         Set(Enum s) { set(s); }
-        Set(Enum s, Enum t) { set(s).set(t); }
-        Set(Enum s, Enum t, Enum u) { set(s).set(t).set(u); }
-        Set(Enum s, Enum t, Enum u, Enum v) { set(s).set(t).set(u).set(v); }
+        Set(Enum s, Enum t) { std::bitset<MaxEnum + 1>::set(s).set(t); }
+        Set(Enum s, Enum t, Enum u) { std::bitset<MaxEnum + 1>::set(s).set(t).set(u);
}
+        Set(Enum s, Enum t, Enum u, Enum v) { std::bitset<MaxEnum + 1>::set(s).set(t).set(u).set(v);
}
     };
 
 



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message