From 3ec558978f36d49b9254c0167163628c4c3c7f9d Mon Sep 17 00:00:00 2001 From: Tristan Brindle Date: Wed, 31 Jan 2024 15:20:25 +0000 Subject: [PATCH] Fix cartesian_power constructor bug --- include/flux/op/cartesian_power.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/flux/op/cartesian_power.hpp b/include/flux/op/cartesian_power.hpp index 6f0df1c5..510cb7ac 100644 --- a/include/flux/op/cartesian_power.hpp +++ b/include/flux/op/cartesian_power.hpp @@ -26,7 +26,7 @@ struct cartesian_power_adaptor FLUX_NO_UNIQUE_ADDRESS Base base_; public: - constexpr explicit cartesian_power_adaptor(Base&& base) + constexpr explicit cartesian_power_adaptor(decays_to auto&& base) : base_(FLUX_FWD(base)) {}