diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/virtfsrwops.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/utils/virtfsrwops.cpp b/src/utils/virtfsrwops.cpp index f3f944a85..52f2af625 100644 --- a/src/utils/virtfsrwops.cpp +++ b/src/utils/virtfsrwops.cpp @@ -88,7 +88,8 @@ static void deleteDebugRWops(SDL_RWops *const rwops) if (!rwops) return; - std::map<void*, VirtFs::DebugMemoryObject*>::iterator it = mRWops.find(rwops); + std::map<void*, VirtFs::DebugMemoryObject*>::iterator it = + mRWops.find(rwops); if (it == mRWops.end()) { logger->log("bad RWops delete: %p", static_cast<void*>(rwops)); @@ -109,7 +110,8 @@ void VirtFs::reportLeaks() if (!mRWops.empty()) { logger->log("RWops leaks detected"); - std::map<void*, VirtFs::DebugMemoryObject*>::iterator it = mRWops.begin(); + std::map<void*, VirtFs::DebugMemoryObject*>::iterator it = + mRWops.begin(); const std::map<void*, VirtFs::DebugMemoryObject*>::iterator it_end = mRWops.end(); for (; it != it_end; ++it) |