diff options
author | Andrew Stitcher <astitcher@apache.org> | 2011-05-09 19:55:49 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2011-05-09 19:55:49 +0000 |
commit | 9a1cbfa40824040d26dcf632cfb24681405b6dd7 (patch) | |
tree | e69ebe4ec4e478d0320a55567351e73a6c4fae4f /cpp/src | |
parent | 4686733b40020fa2e97e0045ae815f986bd00a3d (diff) | |
download | qpid-python-9a1cbfa40824040d26dcf632cfb24681405b6dd7.tar.gz |
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?]
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1101180 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/sys/StateMonitor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/sys/StateMonitor.h b/cpp/src/qpid/sys/StateMonitor.h index b74195fb8d..eac37a8543 100644 --- a/cpp/src/qpid/sys/StateMonitor.h +++ b/cpp/src/qpid/sys/StateMonitor.h @@ -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); } }; |