summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emupal.cpp
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2020-01-23 04:03:35 +0100
committer R. Belmont <rb6502@users.noreply.github.com>2020-01-22 22:03:35 -0500
commit7c3aea8928f90955b7b67e40c705c16d8543384f (patch)
tree4818711117f20ef52fbbcec6543aa970c3c4d519 /src/emu/emupal.cpp
parentd4bed5fce44ecf903e5170a8d4624a9edf7c14f3 (diff)
fixed some clang-tidy warnings (nw) (#6197)
* fixed some bugprone-throw-keyword-missing clang-tidy warnings (nw) * fixed some modernize-use-nullptr clang-tidy warnings (nw) * fixed some readability-delete-null-pointer 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 readability-redundant-string-cstr clang-tidy warnings (nw)
Diffstat (limited to 'src/emu/emupal.cpp')
-rw-r--r--src/emu/emupal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/emupal.cpp b/src/emu/emupal.cpp
index 536eff6577d..6c027ffe611 100644
--- a/src/emu/emupal.cpp
+++ b/src/emu/emupal.cpp
@@ -502,7 +502,7 @@ void palette_device::device_start()
{
// find the extended (split) memory, if present
std::string tag_ext = std::string(tag()).append("_ext");
- const memory_share *share_ext = memshare(tag_ext.c_str());
+ const memory_share *share_ext = memshare(tag_ext);
// make sure we have specified a format
if (m_raw_to_rgb.bytes_per_entry() <= 0)