summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/corefile.cpp
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2020-01-31 03:45:34 +0100
committer GitHub <noreply@github.com>2020-01-30 21:45:34 -0500
commit4a102057779ece1b11431ff0b7787249ce0ad3ad (patch)
treee4911a5cb1a4286dd1547213c4f5eaf993b6adf4 /src/lib/util/corefile.cpp
parent059243f68ec0c2e327a3105a9480f50e5e0b4abf (diff)
fixed some modernize-use-equals-default clang-tidy warnings (nw) (#6237)
Diffstat (limited to 'src/lib/util/corefile.cpp')
-rw-r--r--src/lib/util/corefile.cpp20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/lib/util/corefile.cpp b/src/lib/util/corefile.cpp
index 9357f1cdb36..148ac24c14b 100644
--- a/src/lib/util/corefile.cpp
+++ b/src/lib/util/corefile.cpp
@@ -143,7 +143,7 @@ class core_proxy_file : public core_file
{
public:
core_proxy_file(core_file &file) : m_file(file) { }
- virtual ~core_proxy_file() override { }
+ virtual ~core_proxy_file() override = default;
virtual osd_file::error compress(int level) override { return m_file.compress(level); }
virtual int seek(std::int64_t offset, int whence) override { return m_file.seek(offset, whence); }
@@ -1162,15 +1162,6 @@ osd_file::error core_file::open_proxy(core_file &file, ptr &proxy)
/*-------------------------------------------------
- closes a file
--------------------------------------------------*/
-
-core_file::~core_file()
-{
-}
-
-
-/*-------------------------------------------------
load - open a file with the specified
filename, read it into memory, and return a
pointer
@@ -1233,15 +1224,6 @@ osd_file::error core_file::load(std::string const &filename, std::vector<uint8_t
return osd_file::error::NONE;
}
-
-/*-------------------------------------------------
- protected constructor
--------------------------------------------------*/
-
-core_file::core_file()
-{
-}
-
} // namespace util