We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52c5b89 commit f9ea259Copy full SHA for f9ea259
include/boost/openmethod/initialize.hpp
@@ -1675,7 +1675,7 @@ auto registry<Policies...>::finalize(Options... opts) -> void {
1675
//! arguments.
1676
//! @param options Zero or more option objects.
1677
template<class Registry = BOOST_OPENMETHOD_DEFAULT_REGISTRY, class... Options>
1678
-inline auto finalize(Options... opts) -> void {
+inline auto finalize(Options&&... opts) -> void {
1679
Registry::finalize(std::forward<Options>(opts)...);
1680
}
1681
0 commit comments