mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
🛠 Fix many missing <memory> includes
This commit is contained in:
parent
7bd7cda16f
commit
3dc392009a
@ -28,6 +28,7 @@
|
||||
|
||||
#include <utility>
|
||||
#include <type_traits>
|
||||
#include <memory>
|
||||
|
||||
namespace sol {
|
||||
|
||||
|
@ -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)
|
||||
|
@ -29,6 +29,7 @@
|
||||
|
||||
#include <bitset>
|
||||
#include <unordered_map>
|
||||
#include <memory>
|
||||
|
||||
namespace sol { namespace u_detail {
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
#include <catch2/catch_all.hpp>
|
||||
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user