diff options
Diffstat (limited to 'source/libfud.cpp')
-rw-r--r-- | source/libfud.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libfud.cpp b/source/libfud.cpp index cec544d..538d3a9 100644 --- a/source/libfud.cpp +++ b/source/libfud.cpp @@ -55,7 +55,7 @@ Result<String, FudStatus> getEnv(const char* name) return RetType::error(envVarResult); } - return RetType::okay(envVarResult); + return RetType::okay(std::move(envVarResult)); } } // namespace fud |