diff --git a/performance/performance.cpp b/performance/performance.cpp index 8521f9be5..9fb01c3cb 100644 --- a/performance/performance.cpp +++ b/performance/performance.cpp @@ -46,7 +46,7 @@ list_type& engines() void abstract_regex::register_instance(boost::shared_ptr item) { - engines().push_back(item); + engines().push_back(std::move(item)); } template