summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-12-20 10:46:56 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2022-12-20 10:46:56 +0000
commit2eea867391eb583affa921774f43c6a3a368c03a (patch)
treead8bddece9bdcaefaef86da6439c6cf52fbc4bf0 /config
parentd4ff7d34d3d60ff7da1323e4ddb7308efadecdd9 (diff)
No active code in assert.....
Diffstat (limited to 'config')
-rw-r--r--config/src/vespa/config/frt/frtsource.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/src/vespa/config/frt/frtsource.cpp b/config/src/vespa/config/frt/frtsource.cpp
index 08eeb5171f6..6030b27da02 100644
--- a/config/src/vespa/config/frt/frtsource.cpp
+++ b/config/src/vespa/config/frt/frtsource.cpp
@@ -76,7 +76,8 @@ FRTSource::getConfig()
void
FRTSource::erase(FRT_RPCRequest * request) {
std::lock_guard guard(_lock);
- assert(1 == _inflight.erase(request));
+ auto num_erased = _inflight.erase(request);
+ assert(1u == num_erased);
_cond.notify_all();
}