diff options
Diffstat (limited to 'base/memory/weak_ptr_unittest.cc')
-rw-r--r-- | base/memory/weak_ptr_unittest.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/base/memory/weak_ptr_unittest.cc b/base/memory/weak_ptr_unittest.cc index d79e8d4..d89a5c6 100644 --- a/base/memory/weak_ptr_unittest.cc +++ b/base/memory/weak_ptr_unittest.cc @@ -62,9 +62,7 @@ class BackgroundThread : public Thread { public: BackgroundThread() : Thread("owner_thread") {} - virtual ~BackgroundThread() { - Stop(); - } + ~BackgroundThread() override { Stop(); } void CreateArrowFromTarget(Arrow** arrow, Target* target) { WaitableEvent completion(true, false); |