summaryrefslogtreecommitdiffstats
path: root/base/weak_ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/weak_ptr.h')
-rw-r--r--base/weak_ptr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/weak_ptr.h b/base/weak_ptr.h
index 85a26d16..6dbc9e2 100644
--- a/base/weak_ptr.h
+++ b/base/weak_ptr.h
@@ -79,6 +79,7 @@ class WeakReference {
WeakReference();
WeakReference(Flag* flag);
+ ~WeakReference();
bool is_valid() const;
@@ -110,6 +111,7 @@ class WeakReferenceOwner {
class WeakPtrBase {
public:
WeakPtrBase();
+ ~WeakPtrBase();
protected:
WeakPtrBase(const WeakReference& ref);