diff options
Diffstat (limited to 'src/common/config_obs_mgr.h')
-rw-r--r-- | src/common/config_obs_mgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/config_obs_mgr.h b/src/common/config_obs_mgr.h index 759930df92d..5336538e438 100644 --- a/src/common/config_obs_mgr.h +++ b/src/common/config_obs_mgr.h @@ -75,7 +75,7 @@ typename ObserverMgr<ConfigObs>::config_obs_wptr ObserverMgr<ConfigObs>::remove_ for (auto o = observers.begin(); o != observers.end(); ) { if (*o->second == observer) { ptr = std::move(o->second); - observers.erase(o++); + o = observers.erase(o); found_obs = true; } else { ++o; |