We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb7ae84 commit d695be7Copy full SHA for d695be7
1 file changed
ManyPacker/assets.cpp
@@ -303,11 +303,12 @@ namespace ManyPacker
303
if (!FX.empty())
304
{
305
std::filesystem::create_directories(outputPath / "fx");
306
- for (auto& fx : FX)
+ for (const auto& fx : FX)
307
308
- std::replace(fx.begin(), fx.end(), '/', '\\');
+ std::string new_fx = fx;
309
+ std::replace(new_fx.begin(), new_fx.end(), '/', '\\');
310
- std::string efx = fx + ".efx";
311
+ std::string efx = new_fx + ".efx";
312
auto fxPath = root / "raw" / "fx" / efx;
313
if (!std::filesystem::exists(fxPath))
314
0 commit comments