diff options
author | bunnei <bunneidev@gmail.com> | 2014-12-19 22:47:42 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-12-19 22:47:42 +0100 |
commit | eb394ac0af110a2c1b10901171f4f5303881b147 (patch) | |
tree | a20133305446928b38520a38b3c50a9ccff4296d /src/video_core/gpu_debugger.h | |
parent | Merge pull request #294 from lioncash/var (diff) | |
parent | Properly erase/remove an observer (diff) | |
download | yuzu-eb394ac0af110a2c1b10901171f4f5303881b147.tar yuzu-eb394ac0af110a2c1b10901171f4f5303881b147.tar.gz yuzu-eb394ac0af110a2c1b10901171f4f5303881b147.tar.bz2 yuzu-eb394ac0af110a2c1b10901171f4f5303881b147.tar.lz yuzu-eb394ac0af110a2c1b10901171f4f5303881b147.tar.xz yuzu-eb394ac0af110a2c1b10901171f4f5303881b147.tar.zst yuzu-eb394ac0af110a2c1b10901171f4f5303881b147.zip |
Diffstat (limited to 'src/video_core/gpu_debugger.h')
-rw-r--r-- | src/video_core/gpu_debugger.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_debugger.h b/src/video_core/gpu_debugger.h index 16b1656bb..4eb8b3d4d 100644 --- a/src/video_core/gpu_debugger.h +++ b/src/video_core/gpu_debugger.h @@ -85,7 +85,7 @@ public: void UnregisterObserver(DebuggerObserver* observer) { - std::remove(observers.begin(), observers.end(), observer); + observers.erase(std::remove(observers.begin(), observers.end(), observer), observers.end()); observer->observed = nullptr; } |