summaryrefslogtreecommitdiffstats
path: root/messagebus
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-12-02 15:12:40 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-12-02 15:12:40 +0000
commit24fce8362d27de4f744c9c6ec4b179ba7c1b0407 (patch)
tree1b907488f4e40c1e978e11cc66ae49e6bb5d82c2 /messagebus
parente0ff48f98757a80ce516518f86a7d013f7e18aa1 (diff)
Make it compatible with c++2a
Diffstat (limited to 'messagebus')
-rw-r--r--messagebus/src/vespa/messagebus/network/rpctarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/messagebus/src/vespa/messagebus/network/rpctarget.cpp b/messagebus/src/vespa/messagebus/network/rpctarget.cpp
index b91ba43f036..159b86365c3 100644
--- a/messagebus/src/vespa/messagebus/network/rpctarget.cpp
+++ b/messagebus/src/vespa/messagebus/network/rpctarget.cpp
@@ -32,7 +32,7 @@ RPCTarget::resolveVersion(duration timeout, RPCTarget::IVersionHandler &handler)
std::unique_lock guard(_lock);
state = _state.load(std::memory_order_relaxed);
if (state == VERSION_RESOLVED || state == PROCESSING_HANDLERS) {
- while (_state.load(std::memory_order::memory_order_relaxed) == PROCESSING_HANDLERS) {
+ while (_state.load(std::memory_order_relaxed) == PROCESSING_HANDLERS) {
_cond.wait(guard);
}
hasVersion = true;