🛠 Fix many missing <memory> includes

This commit is contained in:
Shepherd 2022-06-22 16:53:00 -04:00 committed by The Phantom Derpstorm
parent 4efea0ff3c
commit 7859f53e81
6 changed files with 8 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#include <utility>
#include <type_traits>
#include <memory>
namespace sol {

View File

@ -40,6 +40,7 @@
#include <string>
#include <string_view>
#include <optional>
#include <memory>
#if SOL_IS_ON(SOL_STD_VARIANT)
#include <variant>
#endif // variant shenanigans (thanks, Mac OSX)

View File

@ -29,6 +29,7 @@
#include <bitset>
#include <unordered_map>
#include <memory>
namespace sol { namespace u_detail {

View File

@ -25,6 +25,7 @@
#include <catch2/catch_all.hpp>
#include <memory>
#include <unordered_map>
#include <vector>

View File

@ -27,6 +27,8 @@
#include <catch2/catch_all.hpp>
#include <memory>
TEST_CASE("usertype/usertype", "Show that we can create classes from usertype and use them") {
sol::state lua;

View File

@ -27,6 +27,8 @@
#include <catch2/catch_all.hpp>
#include <memory>
TEST_CASE("usertype/member-variables", "allow table-like accessors to behave as member variables for usertype") {
sol::state lua;