I'm not the smartest.

This commit is contained in:
ThePhD 2017-10-03 08:26:23 -04:00
parent 3660aec56e
commit c5505c234a
2 changed files with 4 additions and 4 deletions

View File

@ -20,8 +20,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// This file was generated with a script. // This file was generated with a script.
// Generated 2017-10-03 12:11:17.678787 UTC // Generated 2017-10-03 12:26:06.843171 UTC
// This header was generated with sol v2.18.4 (revision 22d9905) // This header was generated with sol v2.18.4 (revision 3660aec)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_HPP #ifndef SOL_SINGLE_INCLUDE_HPP
@ -8326,7 +8326,7 @@ namespace stack {
tracking.use(1); tracking.use(1);
void* memory = lua_touserdata(L, index); void* memory = lua_touserdata(L, index);
memory = detail::align_user<T>(memory); memory = detail::align_user<T>(memory);
return *static_cast<std::remove_reference_t<T>*>(); return *static_cast<std::remove_reference_t<T>*>(memory);
} }
}; };

View File

@ -383,7 +383,7 @@ namespace stack {
tracking.use(1); tracking.use(1);
void* memory = lua_touserdata(L, index); void* memory = lua_touserdata(L, index);
memory = detail::align_user<T>(memory); memory = detail::align_user<T>(memory);
return *static_cast<std::remove_reference_t<T>*>(); return *static_cast<std::remove_reference_t<T>*>(memory);
} }
}; };