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

This commit is contained in:
Alexey Rybalchenko
2021-09-13 12:51:11 +02:00
parent d4437dbf74
commit 9db2d200a3
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;