From af310722dfc0cc50efe4e1e8adf63d45b9160154 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Fri, 31 Aug 2018 16:49:17 +0200 Subject: [PATCH] Make constructor more efficient --- src/core/elf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/elf.cpp b/src/core/elf.cpp index 70d069b..9b04f84 100644 --- a/src/core/elf.cpp +++ b/src/core/elf.cpp @@ -27,7 +27,7 @@ namespace linuxdeploy { uint8_t elfABI = 0; public: - explicit PrivateData(const bf::path& path) : path(path) {} + explicit PrivateData(bf::path path) : path(std::move(path)) {} public: static std::string getPatchelfPath() {