diff options
Diffstat (limited to 'include/core/SkRefCnt.h')
-rw-r--r-- | include/core/SkRefCnt.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h index d18a63a49f..98e521f6ea 100644 --- a/include/core/SkRefCnt.h +++ b/include/core/SkRefCnt.h @@ -194,7 +194,6 @@ template <typename T> class SkAutoTUnref : public std::unique_ptr<T, SkTUnref<T> public: explicit SkAutoTUnref(T* obj = nullptr) : std::unique_ptr<T, SkTUnref<T>>(obj) {} - T* detach() { return this->release(); } operator T*() const { return this->get(); } // Android's std::unique_ptr's operator bool() is sometimes not explicit... |