From 4a6762540dddea4eb2aa07690e175eedd37d4726 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 14 Sep 2002 16:19:22 +0000 Subject: [PATCH] bugfix [SVN r15324] --- include/boost/python/class.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/python/class.hpp b/include/boost/python/class.hpp index b5ba650c..cdc17104 100644 --- a/include/boost/python/class.hpp +++ b/include/boost/python/class.hpp @@ -73,10 +73,10 @@ namespace detail template struct assert_default_constructible { - static int check2(T const*); + static int check2(T const&); static int check() { - return sizeof(check2(&T())); + return sizeof(check2(T())); } }; }