summaryrefslogtreecommitdiff
path: root/icetray/unittests/testOptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'icetray/unittests/testOptions.cpp')
-rw-r--r--icetray/unittests/testOptions.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/icetray/unittests/testOptions.cpp b/icetray/unittests/testOptions.cpp
index b47e8a4..f11aef0 100644
--- a/icetray/unittests/testOptions.cpp
+++ b/icetray/unittests/testOptions.cpp
@@ -15,8 +15,7 @@ ICETRAY_OPTIONS(TestOptions,
class TestOptionsInline : public IceTray::Options {
public:
TestOptionsInline() :
- IceTray::Options("Test options inline"),
- testInt(0)
+ IceTray::Options("Test options inline")
{
}
@@ -24,7 +23,7 @@ class TestOptionsInline : public IceTray::Options {
("testIntInline", boost::program_options::value(&testInt), "testInt")
);
- int testInt;
+ int testInt { 0 };
};
FACTORY(TestOptionsInline, IceTray::OptionsFactory);