GeoModelTransientPtr - Modify constructor to accept child class pointers
Simplifies the construction of pointers with
class Foo {};
class Bar: public Foo{};
GeoModelTransientPtr<Foo> ptr{std::make_unique<Bar>()};
Edited by Johannes Junggeburth
Simplifies the construction of pointers with
class Foo {};
class Bar: public Foo{};
GeoModelTransientPtr<Foo> ptr{std::make_unique<Bar>()};