osmcode / libosmium

Fast and flexible C++ library for working with OpenStreetMap data.
https://osmcode.org/libosmium/
Boost Software License 1.0
471 stars 114 forks source link

Replace std::forward with std::move for clarity #341

Closed bencsikandrei closed 3 years ago

bencsikandrei commented 3 years ago

Hello,

Certain places had rvalues that were used with forward<...>(..)/ The code did the right thing, but the intent was not clear, at least to me.

Replaced with std::move where that was all that's needed/

Please, let me know if I missed something!