13
0

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:
Mads Kiilerich 2024-05-05 21:09:26 +02:00 committed by Robin Gareus
parent 0352ff8c5e
commit ea242254d3
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -6971,7 +6971,7 @@ Session::source_search_path (DataType type) const
break; break;
} }
return std::move(sp); return sp;
} }
void void