From 1ef6068cc19648745fdd00c2f931a08302c73b21 Mon Sep 17 00:00:00 2001 From: Tim Sylvester Date: Tue, 19 Nov 2024 12:57:49 -0800 Subject: [PATCH] warning --- include/mbgl/util/unique_function.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mbgl/util/unique_function.hpp b/include/mbgl/util/unique_function.hpp index c02efeb631a..880748ad79e 100644 --- a/include/mbgl/util/unique_function.hpp +++ b/include/mbgl/util/unique_function.hpp @@ -48,8 +48,8 @@ class unique_function : public std::function { struct wrapper && std::is_move_constructible_v>> { Fn fn; - wrapper(Fn &&fn) - : fn(std::forward(fn)) {} + wrapper(Fn &&fn_) + : fn(std::forward(fn_)) {} wrapper(wrapper &&) = default; wrapper &operator=(wrapper &&) = default;