diff options
Diffstat (limited to 'base/task.h')
-rw-r--r-- | base/task.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/base/task.h b/base/task.h index 2b3b51c..447bfab 100644 --- a/base/task.h +++ b/base/task.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -678,7 +678,6 @@ template <typename ReturnValue> struct CallbackWithReturnValue { class Type { public: - virtual ~Type() {} virtual ReturnValue Run() = 0; }; }; @@ -694,9 +693,6 @@ class CallbackWithReturnValueImpl virtual ReturnValue Run() { return (this->obj_->*(this->meth_))(); } - - protected: - ~CallbackWithReturnValueImpl() {} }; template <class T, typename ReturnValue> |