Skip to content

Commit

Permalink
trying to fix android for some reason not being able to convert from …
Browse files Browse the repository at this point in the history
…gd::string to path lmfao
  • Loading branch information
pundang committed Jun 12, 2024
1 parent cac95ad commit e45421f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ std::string selectedSong;
std::vector<std::string> songs;

// get the path for the songs
std::filesystem::path ngSongsPath = CCFileUtils::get()->getWritablePath();
std::filesystem::path ngSongsPath = CCFileUtils::get()->getWritablePath().c_str();

// add all the mp3 files to the vector
for (auto &song : std::filesystem::directory_iterator(ngSongsPath)) {
Expand Down

0 comments on commit e45421f

Please sign in to comment.