Index: include/private/SkOnce.h |
diff --git a/include/private/SkOnce.h b/include/private/SkOnce.h |
index 1c68fb7da1396771aa3bed37365b321111270dde..507dcb5b8cf14dfdbecef9e9da81e7eea0e90a51 100644 |
--- a/include/private/SkOnce.h |
+++ b/include/private/SkOnce.h |
@@ -19,6 +19,8 @@ |
class SkOnce { |
public: |
+ constexpr SkOnce() = default; |
+ |
template <typename Fn, typename... Args> |
void operator()(Fn&& fn, Args&&... args) { |
auto state = fState.load(std::memory_order_acquire); |