From 19dfc50d10924cb3786e3d85b2f6d3b0de7ea506 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Mon, 25 Apr 2016 23:49:03 +0200 Subject: [PATCH] is_move_constructible simplification --- include/pybind11/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/common.h b/include/pybind11/common.h index 0ee2dab29..aba804f7b 100644 --- a/include/pybind11/common.h +++ b/include/pybind11/common.h @@ -294,7 +294,7 @@ template struct is_copy_constructible { }; template struct is_move_constructible { - template static std::true_type test(decltype(new T2(std::declval::type>())) *); + template static std::true_type test(decltype(new T2(std::declval())) *); template static std::false_type test(...); static const bool value = std::is_same(nullptr))>::value; };