From d7d44840e9d3cd750eee01183b5a7834c9961e5e Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sat, 12 Dec 2015 09:34:22 -0500 Subject: clang/win: Fix build after https://codereview.chromium.org/1456663003 Fixes: ..\..\sandbox\win\src\sandbox_policy_base.cc(165,5) : error: delete called on 'sandbox::PolicyBase' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor] delete this; ^ BUG=82385 R=rickyz@chromium.org TBR=wfh Review URL: https://codereview.chromium.org/1521703003 . Cr-Commit-Position: refs/heads/master@{#364933} --- sandbox/win/src/sandbox_policy_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sandbox') diff --git a/sandbox/win/src/sandbox_policy_base.h b/sandbox/win/src/sandbox_policy_base.h index 80f5466..751b0d8 100644 --- a/sandbox/win/src/sandbox_policy_base.h +++ b/sandbox/win/src/sandbox_policy_base.h @@ -32,7 +32,7 @@ struct PolicyGlobal; typedef std::vector HandleList; -class PolicyBase : public TargetPolicy { +class PolicyBase final : public TargetPolicy { public: PolicyBase(); -- cgit v1.1