Fixed Cppcheck warning; ::AddonInfo::getFullPath can be static

This commit is contained in:
Daniel Marjamäki 2019-06-29 07:59:55 +02:00
parent 0a41f1ad6b
commit 341406ab17
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ namespace {
std::string scriptFile;
std::string args;
std::string getFullPath(const std::string &fileName, const std::string &exename) const {
static std::string getFullPath(const std::string &fileName, const std::string &exename) {
if (Path::fileExists(fileName))
return fileName;