diff --git a/gm/wacky_yuv_formats.cpp b/gm/wacky_yuv_formats.cpp index ae34115f42..403405d496 100644 --- a/gm/wacky_yuv_formats.cpp +++ b/gm/wacky_yuv_formats.cpp @@ -101,7 +101,7 @@ public: enum class YUVAChannel { kY, kU, kV, kA }; - explicit constexpr YUVAPlanarConfig(const std::initializer_list& yuvaLocations); + explicit YUVAPlanarConfig(const std::initializer_list& yuvaLocations); constexpr int numPlanes() const { return fNumPlanes; } @@ -150,8 +150,7 @@ private: int fNumPlanes = 0; }; -constexpr YUVAPlanarConfig::YUVAPlanarConfig( - const std::initializer_list& yuvaLocations) { +YUVAPlanarConfig::YUVAPlanarConfig(const std::initializer_list& yuvaLocations) { SkASSERT(yuvaLocations.size() == 3 || yuvaLocations.size() == 4); uint32_t planeMask[5] = {}; int l = 0;