summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev/floppy.cpp
diff options
context:
space:
mode:
author npwoods <npwoods@mess.org>2022-04-24 14:21:59 -0400
committer GitHub <noreply@github.com>2022-04-24 20:21:59 +0200
commit4c1c5cf9467b13c05c799b69ab7fd02425e8aeb8 (patch)
treeded4f2331b69e59fdbeab81eac1fbc57f6f8cb10 /src/devices/imagedev/floppy.cpp
parent80c28ec7fe16402f28d773c5ec3ef61495fcf17a (diff)
Changed floppy_image_device::identify() to take std::string_view instead of std::string (#9616)
Diffstat (limited to 'src/devices/imagedev/floppy.cpp')
-rw-r--r--src/devices/imagedev/floppy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/imagedev/floppy.cpp b/src/devices/imagedev/floppy.cpp
index c1782e3c021..a550a1e8f1b 100644
--- a/src/devices/imagedev/floppy.cpp
+++ b/src/devices/imagedev/floppy.cpp
@@ -530,7 +530,7 @@ void floppy_image_device::device_timer(emu_timer &timer, device_timer_id id, int
index_resync();
}
-const floppy_image_format_t *floppy_image_device::identify(std::string filename)
+const floppy_image_format_t *floppy_image_device::identify(std::string_view filename)
{
util::core_file::ptr fd;
std::string revised_path;