diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/memory/scoped_ptr.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/base/memory/scoped_ptr.h b/base/memory/scoped_ptr.h index 1438780..3547b7a 100644 --- a/base/memory/scoped_ptr.h +++ b/base/memory/scoped_ptr.h @@ -244,15 +244,7 @@ class scoped_ptr { template <class C2> bool operator!=(scoped_ptr<C2> const& p2) const; }; -/* -class SkRefCnt; -template <> -class scoped_ptr <SkRefCnt> { -private: - scoped_ptr() { } - ~scoped_ptr() { }; -}; -*/ + // Free functions template <class C> void swap(scoped_ptr<C>& p1, scoped_ptr<C>& p2) { |