File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ class ConfigBase : public Config {
98
98
// / Specify the configuration index to use for arrayed sections
99
99
int16_t configIndex{-1 };
100
100
// / Specify the configuration section that should be used
101
- std::string configSection;
101
+ std::string configSection{} ;
102
102
103
103
public:
104
104
std::string
@@ -145,15 +145,15 @@ class ConfigBase : public Config {
145
145
// / get a reference to the configuration section
146
146
std::string §ionRef () { return configSection; }
147
147
// / get the section
148
- const std::string& section () const { return configSection; }
148
+ const std::string & section () const { return configSection; }
149
149
// / specify a particular section of the configuration file to use
150
150
ConfigBase *section (const std::string §ionName) {
151
151
configSection = sectionName;
152
152
return this ;
153
153
}
154
154
155
155
// / get a reference to the configuration index
156
- int16_t & indexRef () { return configIndex; }
156
+ int16_t & indexRef () { return configIndex; }
157
157
// / get the section index
158
158
int16_t index () const { return configIndex; }
159
159
// / specify a particular index in the section to use (-1) for all sections to use
You can’t perform that action at this time.
0 commit comments