mirror of
https://github.com/opencv/opencv.git
synced 2026-09-19 15:23:23 -05:00
Remove r-value ref
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user