diff options
Diffstat (limited to 'include/codec')
-rw-r--r-- | include/codec/SkCodec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h index fb4f165dbf..fb5bff5165 100644 --- a/include/codec/SkCodec.h +++ b/include/codec/SkCodec.h @@ -50,7 +50,7 @@ public: * this many bytes, or by implementing rewind() to be able to rewind() * after reading this many bytes. */ - static size_t MinBufferedBytesNeeded(); + static constexpr size_t MinBufferedBytesNeeded() { return 32; } /** * Error codes for various SkCodec methods. |