diff options
-rw-r--r-- | icetray/icetray/options.h | 1 | ||||
-rw-r--r-- | icetray/unittests/testOptions.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/icetray/icetray/options.h b/icetray/icetray/options.h index 15c4740..349959c 100644 --- a/icetray/icetray/options.h +++ b/icetray/icetray/options.h @@ -57,6 +57,7 @@ namespace IceTray { #define ICETRAY_OPTIONS_INLINE(OptsDef) \ void ICETRAY_OPTIONS_FUNC ICETRAY_OPTIONS_BODY(OptsDef) #define ICETRAY_OPTIONS(Class, OptsDef) \ + FACTORY(Class, IceTray::OptionsFactory); \ void Class::ICETRAY_OPTIONS_FUNC ICETRAY_OPTIONS_BODY(OptsDef) #endif diff --git a/icetray/unittests/testOptions.cpp b/icetray/unittests/testOptions.cpp index a205755..af5151c 100644 --- a/icetray/unittests/testOptions.cpp +++ b/icetray/unittests/testOptions.cpp @@ -10,8 +10,6 @@ ICETRAY_OPTIONS(TestOptions, ("vec", boost::program_options::value(&testVec), "vector") ); -FACTORY(TestOptions, IceTray::OptionsFactory); - class TestOptionsInline : public IceTray::Options { public: TestOptionsInline() : IceTray::Options("Test options inline") |