commit 1b78ef971a159efe80cadea809f3e943a153b695
parent afbd5f46f1e906026b1d11c4cd1dc5ea61485028
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date: Mon, 2 Dec 2019 19:43:33 +0000
Fix nullptr for clang on linux
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/kfr/cometa/function.hpp b/include/kfr/cometa/function.hpp
@@ -92,7 +92,7 @@ struct function<R(Args...)>
{
function() noexcept = default;
- function(nullptr_t) noexcept {}
+ function(std::nullptr_t) noexcept {}
template <typename Fn,
typename = enable_if<is_invocable_r<R, Fn, Args...> && !is_same<decay<Fn>, function>>>