From 9dc10fc0fc7df411dfc645ba5daff788fbb0ec8c Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Wed, 14 Aug 2019 01:08:20 +0200 Subject: [PATCH] Method can be static --- src/core/appdir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/appdir.cpp b/src/core/appdir.cpp index 6cf4185..ea53921 100644 --- a/src/core/appdir.cpp +++ b/src/core/appdir.cpp @@ -81,7 +81,7 @@ namespace linuxdeploy { // actually copy file // mimics cp command behavior - bool copyFile(const bf::path& from, bf::path to, bool overwrite = false) { + static bool copyFile(const bf::path& from, bf::path to, bool overwrite = false) { ldLog() << "Copying file" << from << "to" << to << std::endl; try {