summaryrefslogtreecommitdiff
path: root/core/fxcrt/fileaccess_iface.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-10-04 23:33:30 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-04 23:33:30 +0000
commit39cf6a765ae349242289ec3287eaf4d6c5fd57f8 (patch)
treeec387ee09ee40a2628a27f4215cd836749644bd3 /core/fxcrt/fileaccess_iface.h
parent57353fb32972af2254070bfb2f662c8add8b2efb (diff)
downloadpdfium-39cf6a765ae349242289ec3287eaf4d6c5fd57f8.tar.xz
Change |virtual ~Foo(){}| to |virtual ~Foo()=default;|chromium/3571
Otherwise code coverage flags the empty body as unreachable. Change-Id: Iee1d9a876d68276529c70d9b8c7a28276f271767 Reviewed-on: https://pdfium-review.googlesource.com/c/43514 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcrt/fileaccess_iface.h')
-rw-r--r--core/fxcrt/fileaccess_iface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/fileaccess_iface.h b/core/fxcrt/fileaccess_iface.h
index 210080e438..fdabc7465e 100644
--- a/core/fxcrt/fileaccess_iface.h
+++ b/core/fxcrt/fileaccess_iface.h
@@ -16,7 +16,7 @@
class FileAccessIface {
public:
static std::unique_ptr<FileAccessIface> Create();
- virtual ~FileAccessIface() {}
+ virtual ~FileAccessIface() = default;
virtual bool Open(const ByteStringView& fileName, uint32_t dwMode) = 0;
virtual bool Open(const WideStringView& fileName, uint32_t dwMode) = 0;