Remove r-value ref

This commit is contained in:
TolyaTalamanov 2022-09-26 08:50:23 +00:00
parent ec92f3fefa
commit 4521d66103

View File

@ -193,7 +193,7 @@ CallParams read<CallParams>(const cv::FileNode& fn) {
template <typename V>
std::map<std::string, V> readMap(const cv::FileNode& fn) {
std::map<std::string, V> map;
for (auto&& item : fn) {
for (auto item : fn) {
map.emplace(item.name(), read<V>(item));
}
return map;