Method can be static

This commit is contained in:
TheAssassin 2019-08-14 01:08:20 +02:00
parent 3183ee2f4f
commit 9dc10fc0fc

View File

@ -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 {