Skip to content

Commit 16e0fd1

Browse files
committed
fix android builds, part 2
1 parent 137b3c8 commit 16e0fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jukebox/jukebox/ui/nong_add_popup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ void NongAddPopup::addSong(CCObject* target) {
604604
Result<> NongAddPopup::addLocalSong(const std::string& songName, const std::string& artistName,
605605
const std::optional<std::string> levelName, int offset) {
606606
if (!m_localPath.has_value()) {
607-
std::filesystem::path path = m_specialInput->getString();
607+
std::filesystem::path path = std::string(std::move(m_specialInput->getString()));
608608
if (std::filesystem::exists(path)) {
609609
m_localPath = path;
610610
}

0 commit comments

Comments
 (0)