style: drop redundant member initializers

- remove constructor member initializers that duplicate the default
  member initialization
- clang-tidy readability-redundant-member-init
  https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html
This commit is contained in:
Dennis Klein
2026-06-09 20:17:48 +02:00
committed by Dennis Klein
parent d2aa2f10de
commit 4dfe24d411
2 changed files with 2 additions and 5 deletions

View File

@@ -87,7 +87,7 @@ struct Parts
const_iterator end() const noexcept { return fParts.end(); } const_iterator end() const noexcept { return fParts.end(); }
const_iterator cend() const noexcept { return fParts.cend(); } const_iterator cend() const noexcept { return fParts.cend(); }
container fParts{}; container fParts;
}; };
} // namespace fair::mq } // namespace fair::mq

View File

@@ -32,12 +32,9 @@ const std::string fair::mq::PluginManager::fgkLibPrefixAlt = "FairMQPlugin_";
std::vector<boost::dll::shared_library> fair::mq::PluginManager::fgDLLKeepAlive = std::vector<boost::dll::shared_library> fair::mq::PluginManager::fgDLLKeepAlive =
std::vector<boost::dll::shared_library>(); std::vector<boost::dll::shared_library>();
fair::mq::PluginManager::PluginManager() fair::mq::PluginManager::PluginManager() {}
: fPluginServices()
{}
fair::mq::PluginManager::PluginManager(const vector<string>& args) fair::mq::PluginManager::PluginManager(const vector<string>& args)
: fPluginServices()
{ {
// Parse command line options // Parse command line options
auto options = ProgramOptions(); auto options = ProgramOptions();