mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Fix compilation issue with alignment (possibly)
This commit is contained in:
parent
f4f166f88c
commit
efef730ee8
|
@ -309,7 +309,7 @@ namespace sol {
|
|||
struct user {
|
||||
U value;
|
||||
|
||||
user(U x)
|
||||
user(U&& x)
|
||||
: value(std::forward<U>(x)) {
|
||||
}
|
||||
operator std::add_pointer_t<std::remove_reference_t<U>>() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user