Update catch internally and make sure there's no errors in the tests for unused variables

This commit is contained in:
ThePhD 2017-02-18 05:05:33 -05:00
parent 1c5ea757c8
commit bf7ddd7bde
2 changed files with 2 additions and 2 deletions

2
Catch

@ -1 +1 @@
Subproject commit 3b4edd7a4849e05fd9d006bf652190729a32906f Subproject commit b1835e1de9b0e321953942de19c31aa85b00b7f2

View File

@ -205,7 +205,7 @@ end )");
REQUIRE_FALSE((bool)testn); REQUIRE_FALSE((bool)testn);
REQUIRE(testv.value() == 29); REQUIRE(testv.value() == 29);
sol::optional<thing> v = lua_bark(sol::optional<thing>(thing{ 29 })); sol::optional<thing> v = lua_bark(sol::optional<thing>(thing{ 29 }));
REQUIRE_NOTHROW([&]{sol::nil_t n = lua_bark(sol::nullopt);}()); REQUIRE_NOTHROW([&] {sol::nil_t n = lua_bark(sol::nullopt); return n; }());
REQUIRE(v->v == 29); REQUIRE(v->v == 29);
} }