Removed an unnecessary copy
This commit is contained in:
parent
5f891ddacf
commit
a966020c73
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ void sfz::Synth::handleControlOpcodes(const std::vector<Opcode>& members)
|
|||
case hash("Default_path"):
|
||||
[[fallthrough]];
|
||||
case hash("default_path"): {
|
||||
const auto newPath = absl::StrReplaceAll(trim(member.value), { { "\\", "/" } });
|
||||
auto newPath = absl::StrReplaceAll(trim(member.value), { { "\\", "/" } });
|
||||
if (fs::exists(originalDirectory / newPath)) {
|
||||
DBG("Changing default sample path to " << newPath);
|
||||
defaultPath = std::move(newPath);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue