diff options
author | chinhodado <chin.bimbo@gmail.com> | 2014-12-19 00:42:24 +0100 |
---|---|---|
committer | chinhodado <chin.bimbo@gmail.com> | 2014-12-19 20:24:44 +0100 |
commit | d31c23e95857ccbb4b40a712251cbf6a8c2d5d67 (patch) | |
tree | 229b8370ad9a2ba8a1eaca77e02172564ddc6275 /src | |
parent | Merge pull request #308 from Subv/more_savedata (diff) | |
download | yuzu-d31c23e95857ccbb4b40a712251cbf6a8c2d5d67.tar yuzu-d31c23e95857ccbb4b40a712251cbf6a8c2d5d67.tar.gz yuzu-d31c23e95857ccbb4b40a712251cbf6a8c2d5d67.tar.bz2 yuzu-d31c23e95857ccbb4b40a712251cbf6a8c2d5d67.tar.lz yuzu-d31c23e95857ccbb4b40a712251cbf6a8c2d5d67.tar.xz yuzu-d31c23e95857ccbb4b40a712251cbf6a8c2d5d67.tar.zst yuzu-d31c23e95857ccbb4b40a712251cbf6a8c2d5d67.zip |
Diffstat (limited to 'src')
-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; } |