From 39cf6a765ae349242289ec3287eaf4d6c5fd57f8 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 4 Oct 2018 23:33:30 +0000 Subject: Change |virtual ~Foo(){}| to |virtual ~Foo()=default;| 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 Commit-Queue: Tom Sepez --- core/fxcodec/codec/codec_module_iface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/fxcodec/codec/codec_module_iface.h') diff --git a/core/fxcodec/codec/codec_module_iface.h b/core/fxcodec/codec/codec_module_iface.h index 08469726aa..e7faa892b2 100644 --- a/core/fxcodec/codec/codec_module_iface.h +++ b/core/fxcodec/codec/codec_module_iface.h @@ -16,10 +16,10 @@ class CodecModuleIface { public: class Context { public: - virtual ~Context() {} + virtual ~Context() = default; }; - virtual ~CodecModuleIface() {} + virtual ~CodecModuleIface() = default; // Returns the number of unprocessed bytes remaining in the input buffer. virtual FX_FILESIZE GetAvailInput(Context* pContext) const = 0; -- cgit v1.2.3