Apply cppcoreguidelines-avoid-non-const-global-variables

This commit is contained in:
Alexey Rybalchenko
2021-09-13 12:51:11 +02:00
committed by Dennis Klein
parent 1ee9d2d222
commit cf9b45cd75
6 changed files with 13 additions and 13 deletions

View File

@@ -115,7 +115,7 @@ class PluginManager
static const std::string fgkLibPrefix;
std::vector<boost::filesystem::path> fSearchPaths;
static std::vector<boost::dll::shared_library> fgDLLKeepAlive;
static std::vector<boost::dll::shared_library> fgDLLKeepAlive; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
std::map<std::string, std::function<PluginFactory>> fPluginFactories;
std::unique_ptr<PluginServices> fPluginServices;
std::map<std::string, std::unique_ptr<Plugin>> fPlugins;