From df24f29232c97bd579c7b6aa4e43972e71c28e46 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 18 Dec 2002 17:56:42 +0000 Subject: [PATCH] nonconformance workaround from Gottfried.Ganssauge@HAUFE.DE [SVN r16653] --- include/boost/python/object_protocol.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/python/object_protocol.hpp b/include/boost/python/object_protocol.hpp index 975c9379..8698dd9f 100755 --- a/include/boost/python/object_protocol.hpp +++ b/include/boost/python/object_protocol.hpp @@ -29,7 +29,7 @@ object getattr(Target const& target, Key const& key, Default const& default_) template void setattr(object const& target, Key const& key, Value const& value) { - return setattr(target, object(key), object(value)); + setattr(target, object(key), object(value)); } template @@ -66,7 +66,7 @@ object getslice(Target const& target, Begin const& begin, End const& end) template void setslice(object const& target, Begin const& begin, End const& end, Value const& value) { - return setslice(target, object(begin), object(end), object(value)); + setslice(target, object(begin), object(end), object(value)); } template