diff options
Diffstat (limited to 'src/include/synext_decorator.hpp')
-rw-r--r-- | src/include/synext_decorator.hpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/synext_decorator.hpp b/src/include/synext_decorator.hpp index 4988c624..77b55710 100644 --- a/src/include/synext_decorator.hpp +++ b/src/include/synext_decorator.hpp @@ -63,19 +63,19 @@ extern void Register_Synext_Decorator_Static(DecoratorDef* def); struct DecoratorDef { - DecoratorDef* prev; - ::std::string name; - ::std::unique_ptr<ExpandDecorator> def; - DecoratorDef(::std::string name, ::std::unique_ptr<ExpandDecorator> def): - name(::std::move(name)), - def(::std::move(def)), - prev(nullptr) - { - Register_Synext_Decorator_Static(this); - } + DecoratorDef* prev; + ::std::string name; + ::std::unique_ptr<ExpandDecorator> def; + DecoratorDef(::std::string name, ::std::unique_ptr<ExpandDecorator> def): + prev(nullptr), + name(::std::move(name)), + def(::std::move(def)) + { + Register_Synext_Decorator_Static(this); + } }; -#define STATIC_DECORATOR(ident, _handler_class) static DecoratorDef s_register_##_handler_class ( ident, ::std::unique_ptr<ExpandDecorator>(new _handler_class()) ); +#define STATIC_DECORATOR(ident, _handler_class) static DecoratorDef s_register_##_handler_class ( ident, ::std::unique_ptr<ExpandDecorator>(new _handler_class()) ); #endif |