summaryrefslogtreecommitdiff
path: root/absl/functional/overload.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/functional/overload.h')
-rw-r--r--absl/functional/overload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/functional/overload.h b/absl/functional/overload.h
index 34ffa689..7e19e705 100644
--- a/absl/functional/overload.h
+++ b/absl/functional/overload.h
@@ -62,7 +62,7 @@ struct Overload final : T... {
// aggregate initialization. Before then we must provide a constructor that
// makes this work.
//
- explicit Overload(T... ts) : T(std::move(ts))... {}
+ constexpr explicit Overload(T... ts) : T(std::move(ts))... {}
};
// Before C++20, which added support for CTAD for aggregate types, we must also