From b80a4e852bd22343ef32e2fd378869dc0ccb3d31 Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Wed, 4 Oct 2017 02:40:53 +0200 Subject: [PATCH] Fix a msvc warning --- include/continuable/detail/util.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/continuable/detail/util.hpp b/include/continuable/detail/util.hpp index 00acc2b..dbf8357 100644 --- a/include/continuable/detail/util.hpp +++ b/include/continuable/detail/util.hpp @@ -149,7 +149,7 @@ auto partial_invoke_impl_shortcut(std::false_type failed, T&& callable, /// \note This function will assert statically if there is no way to call the /// given object with less arguments. template -auto partial_invoke(T&& callable, Args&&... args) { +/*keep this inline*/ inline auto partial_invoke(T&& callable, Args&&... args) { // Test whether we are able to call the function with the given arguments. is_invokable> is_invokable;