diff --git a/include/rustfp/flat_map.h b/include/rustfp/flat_map.h index c935fb1..29d10de 100644 --- a/include/rustfp/flat_map.h +++ b/include/rustfp/flat_map.h @@ -132,7 +132,7 @@ auto FlatMap::next() -> Option { continue; } - sub_self_opt = Some(move(sub_self)); + sub_self_opt = Some(std::move(sub_self)); // success case return std::move(next_opt);