summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorchinhodado <chin.bimbo@gmail.com>2014-12-19 00:42:24 +0100
committerchinhodado <chin.bimbo@gmail.com>2014-12-19 20:24:44 +0100
commitd31c23e95857ccbb4b40a712251cbf6a8c2d5d67 (patch)
tree229b8370ad9a2ba8a1eaca77e02172564ddc6275 /src
parentMerge pull request #308 from Subv/more_savedata (diff)
downloadyuzu-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.h2
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;
}