Commit cf0ff290 authored by Kevin Funk's avatar Kevin Funk

Minor: Silence spurious Clang warning

Warning:
  .../kdevplatform/shell/sessioncontroller.cpp:371:12: warning: local variable 'l' will be copied despite being returned by name [-Wreturn-std-move]
parent 814388d5
......@@ -361,7 +361,7 @@ void SessionController::loadSession( const QString& nameOrId )
QList<QString> SessionController::sessionNames() const
{
QStringList l;
QList<QString> l;
const auto sessions = d->sessionActions.keys();
l.reserve(sessions.size());
for(const auto* s : sessions) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment