diff options
author | Nico Weber <thakis@chromium.org> | 2015-12-12 09:34:22 -0500 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2015-12-12 14:36:18 +0000 |
commit | d7d44840e9d3cd750eee01183b5a7834c9961e5e (patch) | |
tree | 2a46f14f4542eeed6e239a701983129d9e99ee81 /sandbox | |
parent | 96abe169d9e6cfa046c06a907a8220817e845946 (diff) | |
download | chromium_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.h | 2 |
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(); |