Fix compilation issue with alignment (possibly)

This commit is contained in:
Orfeas Zafeiris 2018-05-30 08:58:18 +03:00
parent f4f166f88c
commit efef730ee8

View File

@ -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>>() {