summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/apollo_dsk.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2023-10-08 09:00:33 -0400
committer AJR <ajrhacker@users.noreply.github.com>2023-10-08 09:02:47 -0400
commit07b3bdd04f9aeb9d1e56b6d03ef998d383153fc6 (patch)
treecca31406789a294b5123d1ed394cdf4579b6aa8a /src/lib/formats/apollo_dsk.cpp
parentdb48a71d4fe2c0331b4a4475aa4ec602e6896091 (diff)
Floppy format API refinements
- Add noexcept to format information overrides and several simple floppy_image accessors. - Be more const-correct and use references instead of raw pointers wherever applicable. In particular, floppy_image_device::load and floppy_image_device::save now take a reference to floppy_image rather than a pointer, const-qualified in the latter case.
Diffstat (limited to 'src/lib/formats/apollo_dsk.cpp')
-rw-r--r--src/lib/formats/apollo_dsk.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/formats/apollo_dsk.cpp b/src/lib/formats/apollo_dsk.cpp
index a2d64fd179a..069f22c5db5 100644
--- a/src/lib/formats/apollo_dsk.cpp
+++ b/src/lib/formats/apollo_dsk.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Olivier Galibert
/*********************************************************************
- formats/apollo_dsk.c
+ formats/apollo_dsk.cpp
apollo format
@@ -17,17 +17,17 @@ apollo_format::apollo_format() : upd765_format(formats)
{
}
-const char *apollo_format::name() const
+const char *apollo_format::name() const noexcept
{
return "apollo";
}
-const char *apollo_format::description() const
+const char *apollo_format::description() const noexcept
{
return "APOLLO disk image";
}
-const char *apollo_format::extensions() const
+const char *apollo_format::extensions() const noexcept
{
return "afd";
}