We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 137b3c8 commit 16e0fd1Copy full SHA for 16e0fd1
jukebox/jukebox/ui/nong_add_popup.cpp
@@ -604,7 +604,7 @@ void NongAddPopup::addSong(CCObject* target) {
604
Result<> NongAddPopup::addLocalSong(const std::string& songName, const std::string& artistName,
605
const std::optional<std::string> levelName, int offset) {
606
if (!m_localPath.has_value()) {
607
- std::filesystem::path path = m_specialInput->getString();
+ std::filesystem::path path = std::string(std::move(m_specialInput->getString()));
608
if (std::filesystem::exists(path)) {
609
m_localPath = path;
610
}
0 commit comments