Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[core] Fix mbgl::Pass constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
pozdnyakov committed Feb 26, 2020
1 parent f4b3bcb commit d9294ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mbgl/util/pass_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace mbgl {
template <typename T>
class Pass {
public:
Pass(T&& obj_) : obj(std::forward<T>(obj_)) {}
Pass(T obj_) : obj(std::move(obj_)) {}
Pass(Pass&&) noexcept = default;
Pass(const Pass&) = delete;
Pass& operator=(const Pass&) = delete;
Expand Down

0 comments on commit d9294ae

Please sign in to comment.