From f373e3d61986d88579e67d099ccabb44b833f809 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Sat, 30 Jan 2021 00:34:22 -0800 Subject: [PATCH] Fixing oversight introduced with commit 95425f13d6c14fcb6ee479b62b602dc8a605ec49. --- tests/test_class.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_class.cpp b/tests/test_class.cpp index fd107c95c..02aa52a29 100644 --- a/tests/test_class.cpp +++ b/tests/test_class.cpp @@ -504,7 +504,7 @@ CHECK_BASE(1); CHECK_BASE(2); CHECK_BASE(3); CHECK_BASE(4); CHECK_BASE(5); CHECK CHECK_ALIAS(1); CHECK_ALIAS(2); CHECK_NOALIAS(3); CHECK_ALIAS(4); CHECK_NOALIAS(5); CHECK_ALIAS(6); CHECK_ALIAS(7); CHECK_NOALIAS(8); #define CHECK_HOLDER(N, TYPE) static_assert(std::is_same>>::value, \ "DoesntBreak" #N " has wrong holder_type!") -#define CHECK_SMART_HOLDER(N) static_assert(std::is_same::value, \ "DoesntBreak" #N " has wrong holder_type!") CHECK_HOLDER(1, unique); CHECK_HOLDER(2, unique); CHECK_HOLDER(3, unique); #ifndef PYBIND11_USE_SMART_HOLDER_AS_DEFAULT