diff options
author | Oliver Stöneberg <firewave@users.noreply.github.com> | 2020-01-29 15:59:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-29 09:59:50 -0500 |
commit | c761a27e5c0e2847598d1c5c5e4d26c24944a516 (patch) | |
tree | 3ae338050a56da03deee40b7637e945aa866887d /src/emu/emumem.cpp | |
parent | 4da780c24327a45ffe499080a05aeb5e3579b589 (diff) |
fixed some clang-tidy warnings (nw) (#6229)
* fixed some readability-static-accessed-through-instance clang-tidy warnings (nw)
* fixed some readability-redundant-string-cstr clang-tidy warnings (nw)
* fixed some readability-redundant-control-flow clang-tidy warnings (nw)
* fixed some modernize-use-nullptr clang-tidy warnings (nw)
* fixed some performance-faster-string-find clang-tidy warnings (nw)
* fixed some performance-for-range-copy clang-tidy warnings (nw)
* fixed some performance-unnecessary-value-param clang-tidy warnings (nw)
Diffstat (limited to 'src/emu/emumem.cpp')
-rw-r--r-- | src/emu/emumem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/emumem.cpp b/src/emu/emumem.cpp index 3514045e32d..8f820606279 100644 --- a/src/emu/emumem.cpp +++ b/src/emu/emumem.cpp @@ -2582,7 +2582,7 @@ void memory_bank::set_base(void *base) m_curentry = 0; } m_entries[m_curentry] = reinterpret_cast<u8 *>(base); - for(auto cb : m_alloc_notifier) + for(const auto &cb : m_alloc_notifier) cb(base); m_alloc_notifier.clear(); } |