Skip to content

Commit

Permalink
warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSylvester committed Nov 19, 2024
1 parent 43f1272 commit 1ef6068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/mbgl/util/unique_function.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ class unique_function : public std::function<T> {
struct wrapper<Fn, std::enable_if_t<!std::is_copy_constructible_v<Fn> && std::is_move_constructible_v<Fn>>> {
Fn fn;

wrapper(Fn &&fn)
: fn(std::forward<Fn>(fn)) {}
wrapper(Fn &&fn_)
: fn(std::forward<Fn>(fn_)) {}
wrapper(wrapper &&) = default;
wrapper &operator=(wrapper &&) = default;

Expand Down

0 comments on commit 1ef6068

Please sign in to comment.