warnings: Remove redundant move in return statement
GCC 14 educates us: ../libs/ardour/session.cc: In member function ‘std::vector<std::__cxx11::basic_string<char> > ARDOUR::Session::source_search_path(ARDOUR::DataType) const’: ../libs/ardour/session.cc:6969:25: warning: redundant move in return statement [-Wredundant-move] 6969 | return std::move(sp); | ~~~~~~~~~^~~~ ../libs/ardour/session.cc:6969:25: note: remove ‘std::move’ call
This commit is contained in:
parent
0352ff8c5e
commit
ea242254d3
@ -6971,7 +6971,7 @@ Session::source_search_path (DataType type) const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return std::move(sp);
|
return sp;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user