diff --git a/sol/usertype.hpp b/sol/usertype.hpp index 75468168..e2316029 100644 --- a/sol/usertype.hpp +++ b/sol/usertype.hpp @@ -317,10 +317,10 @@ public: usertype(Args&&... args): usertype(default_constructor, std::forward(args)...) {} template - SOL_DEPRECATED usertype(std::string, Args&&... args): usertype(default_constructor, std::forward(args)...) {} + SOL_DEPRECATED usertype(std::string, std::string, Args&&... args): usertype(default_constructor, std::forward(args)...) {} template - SOL_DEPRECATED usertype(const char*, Args&&... args): usertype(default_constructor, std::forward(args)...) {} + SOL_DEPRECATED usertype(const char*, std::string, Args&&... args): usertype(default_constructor, std::forward(args)...) {} template SOL_DEPRECATED usertype(std::string, constructors c, Args&&... args) : usertype(std::move(c), std::forward(args)...) {}