diff options
| author | Stefan Boberg <[email protected]> | 2025-10-10 14:10:45 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2025-10-10 14:10:45 +0200 |
| commit | 3491d2f978e5e706496504c0630adb17376cbce9 (patch) | |
| tree | 1df5c2c85bae840fc9840f32cdb52133e0c9825f /src | |
| parent | sandboxwin should only build on Windows (diff) | |
| download | zen-3491d2f978e5e706496504c0630adb17376cbce9.tar.xz zen-3491d2f978e5e706496504c0630adb17376cbce9.zip | |
fix warning wrt copy elision
Diffstat (limited to 'src')
| -rw-r--r-- | src/zenmaster/hostinterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenmaster/hostinterface.cpp b/src/zenmaster/hostinterface.cpp index e1bb6cb54..39e7a51cc 100644 --- a/src/zenmaster/hostinterface.cpp +++ b/src/zenmaster/hostinterface.cpp @@ -34,7 +34,7 @@ ZenServerHost::SpawnOne(std::string_view Id) std::filesystem::path ProgramBaseDir = GetRunningExecutablePath().parent_path(); Proc->Env.Initialize(ProgramBaseDir); - Proc->Server = std::move(std::make_unique<ZenServerInstance>(Proc->Env)); + Proc->Server = std::make_unique<ZenServerInstance>(Proc->Env); Proc->Server->SpawnServerAndWait(); m_LiveProcessesByProjectId.insert({std::string{Id}, std::move(Proc)}); |