diff options
Diffstat (limited to 'src/record/SkRecord.h')
-rw-r--r-- | src/record/SkRecord.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/record/SkRecord.h b/src/record/SkRecord.h index 068155e47f..ccfa1dd556 100644 --- a/src/record/SkRecord.h +++ b/src/record/SkRecord.h @@ -167,7 +167,7 @@ private: // We could just return NULL but it's sort of confusing to return NULL on success. template <typename T> SK_WHEN(SkTIsEmpty<T>, T*) allocCommand() { - static T singleton = {}; + static T singleton; return &singleton; } |