diff options
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/SkTemplates.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/private/SkTemplates.h b/include/private/SkTemplates.h index e8fbfd5a89..272b5856ad 100644 --- a/include/private/SkTemplates.h +++ b/include/private/SkTemplates.h @@ -101,9 +101,6 @@ public: // Need to update graphics/BitmapRegionDecoder.cpp. T* detach() { return this->release(); } #endif - - // See SkAutoTUnref for why we do this. - explicit operator bool() const { return this->get() != nullptr; } }; template <typename T> class SkAutoTDeleteArray : public std::unique_ptr<T[]> { |