C++11: Use member declaration initalizations. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-08-16 11:44:06 -04:00
parent 033e7ac020
commit 72d2cff0a1
117 changed files with 981 additions and 1469 deletions
+5 -7
View File
@@ -37,8 +37,8 @@ private:
public:
// CONSTRUCTORS
VlcSourceCount(int lineno, int column)
: m_lineno(lineno)
, m_column(column) {}
: m_lineno{lineno}
, m_column{column} {}
~VlcSourceCount() {}
// ACCESSORS
@@ -66,15 +66,13 @@ public:
private:
// MEMBERS
string m_name; //< Name of the source file
bool m_needed; //< Need to annotate; has low coverage
bool m_needed = false; //< Need to annotate; has low coverage
LinenoMap m_lines; //< Map of each annotated line
public:
// CONSTRUCTORS
explicit VlcSource(const string& name) {
m_name = name;
m_needed = false;
}
explicit VlcSource(const string& name)
: m_name{name} {}
~VlcSource() {}
// ACCESSORS