summaryrefslogtreecommitdiff
path: root/fpdfsdk/pwl/cpwl_wnd.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 /fpdfsdk/pwl/cpwl_wnd.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 'fpdfsdk/pwl/cpwl_wnd.h')
-rw-r--r--fpdfsdk/pwl/cpwl_wnd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/pwl/cpwl_wnd.h b/fpdfsdk/pwl/cpwl_wnd.h
index 1ed239ed85..cc6662be30 100644
--- a/fpdfsdk/pwl/cpwl_wnd.h
+++ b/fpdfsdk/pwl/cpwl_wnd.h
@@ -106,7 +106,7 @@ class CPWL_Wnd : public CPWL_TimerHandler, public Observable<CPWL_Wnd> {
class ProviderIface : public Observable<ProviderIface> {
public:
- virtual ~ProviderIface() {}
+ virtual ~ProviderIface() = default;
// get a matrix which map user space to CWnd client space
virtual CFX_Matrix GetWindowMatrix(PrivateData* pAttached) = 0;
@@ -114,7 +114,7 @@ class CPWL_Wnd : public CPWL_TimerHandler, public Observable<CPWL_Wnd> {
class FocusHandlerIface {
public:
- virtual ~FocusHandlerIface() {}
+ virtual ~FocusHandlerIface() = default;
virtual void OnSetFocus(CPWL_Edit* pEdit) = 0;
};