diff --git a/cppcheck.supp b/cppcheck.supp index 9a82f28..5179c5b 100644 --- a/cppcheck.supp +++ b/cppcheck.supp @@ -5,3 +5,4 @@ ignoredReturnValue *:build/generated/* *:build/_deps/* +*:vendor/* diff --git a/src/Cache.cpp b/src/Cache.cpp index 90dea83..68d1378 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -126,7 +126,8 @@ void Cache::rescan() mINI::INIStructure ini; ini_file.read(ini); - constexpr auto read_action = [&](std::string desktop_file_uri, + constexpr auto read_action = [&](std::string const + &desktop_file_uri, mINI::INIMap const §ion) { auto const name = section.get("Name");