boostorg / move

Boost.org move module
http://boost.org/libs/move
Boost Software License 1.0
19 stars 55 forks source link

Unused local type error with warnings-as-errors=on variant=release #44

Closed grisumbras closed 2 years ago

grisumbras commented 2 years ago

2af840af introduced a type alias here. That type alias is only used in a later BOOST_ASSERT and thus triggers a "typedef 'difference_type' locally defined but not used" warning, which is turned into an error when warnings-as-errors=on.

igaztanaga commented 2 years ago

Thanks for the report!