mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 18:11:49 +00:00
Fix compiler warnings.
Initialize all data members in initializer lists. Reorder data members in initializer list to have the same order as in the class declaration. Comment or remove unused parameters and unused variables. Convert all old style casts to the correct and explicit c++ cast like const_cast, static_cast, dynamic_cast or reinterpret_cast. In most cases static_cast is used.
This commit is contained in:
@@ -196,4 +196,4 @@ FairMQMap XML::UserParser(stringstream& input, const string& deviceId, const str
|
||||
return ptreeToMQMap(pt, deviceId, rootNode, "xml");
|
||||
}
|
||||
|
||||
} // end FairMQParser namespace
|
||||
} // end FairMQParser namespace
|
||||
|
@@ -20,8 +20,8 @@ using namespace std;
|
||||
FairMQProgOptions::FairMQProgOptions()
|
||||
: FairProgOptions()
|
||||
, fMQParserOptions("MQ-Device parser options")
|
||||
, fMQOptionsInCmd("MQ-Device options")
|
||||
, fMQOptionsInCfg("MQ-Device options")
|
||||
, fMQOptionsInCmd("MQ-Device options")
|
||||
, fMQtree()
|
||||
, fFairMQMap()
|
||||
{
|
||||
|
@@ -19,18 +19,18 @@ using namespace std;
|
||||
/// //////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
/// Constructor
|
||||
FairProgOptions::FairProgOptions() :
|
||||
fVarMap(),
|
||||
fGenericDesc("Generic options description"),
|
||||
fConfigDesc("Configuration options description"),
|
||||
fHiddenDesc("Hidden options description"),
|
||||
fEnvironmentDesc("Environment variables"),
|
||||
fHiddenDesc("Hidden options description"),
|
||||
fCmdLineOptions("Command line options"),
|
||||
fConfigFileOptions("Configuration file options"),
|
||||
fSeverityMap(),
|
||||
fVisibleOptions("Visible options"),
|
||||
fVerboseLvl("INFO"),
|
||||
fUseConfigFile(false),
|
||||
fConfigFile(),
|
||||
fVarMap(),
|
||||
fSeverityMap()
|
||||
fConfigFile()
|
||||
{
|
||||
fGenericDesc.add_options()
|
||||
("help,h", "produce help")
|
||||
|
@@ -71,4 +71,4 @@ namespace FairMQParser
|
||||
|
||||
|
||||
|
||||
} // end FairMQParser namespace
|
||||
} // end FairMQParser namespace
|
||||
|
Reference in New Issue
Block a user