Skip to content

Commit f998204

Browse files
committed
fix getMultiAssetSizes use after move
1 parent 5590380 commit f998204

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

jukebox/jukebox/managers/nong_manager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ std::string NongManager::getFormattedSize(const std::filesystem::path& path) {
327327
}
328328

329329
arc::Future<std::string> NongManager::getMultiAssetSizes(std::string songs, std::string sfx,
330-
const std::filesystem::path& resourcesDir,
331-
const std::filesystem::path& songDir) {
330+
const std::filesystem::path resourcesDir,
331+
const std::filesystem::path songDir) {
332332
uintmax_t sum = 0.f;
333333
std::istringstream stream(songs);
334334
std::string s;

jukebox/jukebox/managers/nong_manager.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ class NongManager {
143143
* @param songDir CCFileUtils::get()->getWritablePath()
144144
*/
145145
arc::Future<std::string> getMultiAssetSizes(std::string songs, std::string sfx,
146-
const std::filesystem::path& resourcesDir,
147-
const std::filesystem::path& songDir);
146+
std::filesystem::path resourcesDir,
147+
std::filesystem::path songDir);
148148

149149
/**
150150
* Add actions needed to fix a broken song default

0 commit comments

Comments
 (0)