diff options
Diffstat (limited to 'include/core/SkTLazy.h')
-rw-r--r-- | include/core/SkTLazy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkTLazy.h b/include/core/SkTLazy.h index 9cfaccbc7a..cf2d943829 100644 --- a/include/core/SkTLazy.h +++ b/include/core/SkTLazy.h @@ -76,13 +76,13 @@ public: * false otherwise. */ bool isValid() const { return NULL != fPtr; } - + /** * Returns either NULL, or a copy of the object that was passed to * set() or the constructor. */ T* get() const { SkASSERT(this->isValid()); return fPtr; } - + private: T* fPtr; // NULL or fStorage char fStorage[sizeof(T)]; |