Skip to content

Commit

Permalink
fix: cmake error "redundant move in initialization"
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Jan 22, 2024
1 parent d4fbe31 commit 0984b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/note.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3133,7 +3133,7 @@ QVector<int> Note::findLinkedNoteIds() const {
* @return
*/
const QString Note::getNoteURL(const QString &baseName) {
return QStringLiteral("note://") + generateTextForLink(std::move(baseName));
return QStringLiteral("note://") + generateTextForLink(baseName);
}

/**
Expand Down

0 comments on commit 0984b4a

Please sign in to comment.