diff options
Diffstat (limited to 'base/weak_ptr.h')
-rw-r--r-- | base/weak_ptr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/weak_ptr.h b/base/weak_ptr.h index 98b5870..1bc963e 100644 --- a/base/weak_ptr.h +++ b/base/weak_ptr.h @@ -16,9 +16,9 @@ // // EXAMPLE: // -// class Controller : public SupportsWeakPtr { +// class Controller : public SupportsWeakPtr<Controller> { // public: -// void SpawnWorker() { Worker::StartNew(GetWeakPtr()); } +// void SpawnWorker() { Worker::StartNew(AsWeakPtr()); } // void WorkComplete(const Result& result) { ... } // }; // |