diff --git a/sol/userdata.hpp b/sol/userdata.hpp index 4c09e9b1..abe11cc6 100644 --- a/sol/userdata.hpp +++ b/sol/userdata.hpp @@ -305,8 +305,8 @@ public: // to be references. This makes returns of // `std::vector&` and `std::vector*` work - metafunctiontable.push_back( { nullptr, nullptr } ); - ptrmetafunctiontable.push_back( { nullptr, nullptr } ); + metafunctiontable.push_back({ nullptr, nullptr }); + ptrmetafunctiontable.push_back({ nullptr, nullptr }); } template