Skip to content

Commit

Permalink
[skip ci] formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhD committed May 29, 2019
1 parent 3d479a7 commit 46a2b01
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/sol/stack_get_unqualified.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ namespace sol { namespace stack {
static decltype(auto) get(lua_State* L, int index, record& tracking) {
using Tu = meta::unqualified_t<X>;
static constexpr bool is_userdata_of_some_kind
= !std::is_reference_v<
X> && is_container_v<Tu> && std::is_default_constructible_v<Tu> && !is_lua_primitive_v<Tu> && !is_transparent_argument_v<Tu>;
= !std::is_reference_v<X> && is_container_v<Tu> && std::is_default_constructible_v<Tu> && !is_lua_primitive_v<Tu> && !is_transparent_argument_v<Tu>;
if constexpr (is_userdata_of_some_kind) {
if (type_of(L, index) == type::userdata) {
return static_cast<Tu>(stack_detail::unchecked_unqualified_get<Tu>(L, index, tracking));
Expand Down

0 comments on commit 46a2b01

Please sign in to comment.