diff --git a/sol/default_construct.hpp b/sol/default_construct.hpp index 0006236a..6e1be826 100644 --- a/sol/default_construct.hpp +++ b/sol/default_construct.hpp @@ -28,11 +28,11 @@ namespace sol { struct default_construct { - template - void operator()(T&& obj, Args&&... args) const { - std::allocator> alloc{}; - alloc.construct(obj, std::forward(args)...); - } + template + void operator()(T&& obj, Args&&... args) const { + std::allocator> alloc{}; + alloc.construct(obj, std::forward(args)...); + } }; } // sol