Commit a0d615cb authored by Daniel Vrátil's avatar Daniel Vrátil
Browse files

Remove C++14 construct from public header

parent cd0f10af
Pipeline #38995 failed with stage
in 60 minutes and 2 seconds
......@@ -50,7 +50,7 @@ public:
template <typename T> inline static void registerAttribute()
static_assert(std::is_default_constructible<T>::value, "An Attribute must be default-constructible.");
AttributeFactory::self()->registerAttribute(std::unique_ptr<T>{new T{}});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment