Skip to content

Commit 386992c

Browse files
committed
suppress gcc warning
[SVN r12382]
1 parent a48f252 commit 386992c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎include/boost/python/converter/class.hpp‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ struct class_unwrapper
1818
, private unwrapper<T*>
1919
, private unwrapper<T const*>
2020
{
21+
protected:
22+
# ifdef __GNUC__ // suppress warning that "all member functions are private" (duh)
23+
void uncallable();
24+
# endif
2125
private:
2226
void* can_convert(PyObject*) const;
2327
T& convert(PyObject*, void*, boost::type<T&>) const;

0 commit comments

Comments
 (0)