diff --git a/test.cpp b/test.cpp index 3b6df15..5755b7b 100644 --- a/test.cpp +++ b/test.cpp @@ -87,17 +87,17 @@ int main(int /*argc*/, char** /*argv*/) // Continuable> spell CastSpell(63362) - .then([](SpellCastResult result) + .then([](SpellCastResult) { return CastSpell(63362); }) - .then([](SpellCastResult result) + .then([](SpellCastResult) { }); // Wraps a callback function into a continuable - auto cba1 = make_continuable([=](Callback&& callback) + auto cba1 = make_continuable([=](Callback&&) { @@ -113,11 +113,11 @@ int main(int /*argc*/, char** /*argv*/) typedef fu::requires_functional_constructible>::type test_assert1; // typedef fu::requires_functional_constructible>::type test_assert2; - // detail::convert_void_to_continuable::type* _test5 = nullptr; + detail::convert_void_to_continuable::type* _test5 = nullptr; + _test5 = nullptr; - // detail::convert_void_to_continuable>>::type* _test6 = nullptr; - - // auto cba2 = make_continuable(myvec); + detail::convert_void_to_continuable>>::type* _test6 = nullptr; + _test6 = nullptr; std::cout << "ok" << std::endl; return 0;