summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2015-12-12 09:34:22 -0500
committerNico Weber <thakis@chromium.org>2015-12-12 14:36:18 +0000
commitd7d44840e9d3cd750eee01183b5a7834c9961e5e (patch)
tree2a46f14f4542eeed6e239a701983129d9e99ee81 /sandbox
parent96abe169d9e6cfa046c06a907a8220817e845946 (diff)
downloadchromium_src-d7d44840e9d3cd750eee01183b5a7834c9961e5e.zip
chromium_src-d7d44840e9d3cd750eee01183b5a7834c9961e5e.tar.gz
chromium_src-d7d44840e9d3cd750eee01183b5a7834c9961e5e.tar.bz2
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}
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/win/src/sandbox_policy_base.h2
1 files changed, 1 insertions, 1 deletions
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<base::win::ScopedHandle*> HandleList;
-class PolicyBase : public TargetPolicy {
+class PolicyBase final : public TargetPolicy {
public:
PolicyBase();