Remove r-value ref

pull/22518/head
TolyaTalamanov 3 years ago
parent ec92f3fefa
commit 4521d66103
  1. 2
      modules/gapi/samples/pipeline_modeling_tool.cpp

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

Loading…
Cancel
Save