Skip to content

Commit df24f29

Browse files
committed
nonconformance workaround from Gottfried.Ganssauge@HAUFE.DE
[SVN r16653]
1 parent 14c7d9a commit df24f29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/boost/python/object_protocol.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ object getattr(Target const& target, Key const& key, Default const& default_)
2929
template <class Key, class Value>
3030
void setattr(object const& target, Key const& key, Value const& value)
3131
{
32-
return setattr(target, object(key), object(value));
32+
setattr(target, object(key), object(value));
3333
}
3434

3535
template <class Key>
@@ -66,7 +66,7 @@ object getslice(Target const& target, Begin const& begin, End const& end)
6666
template <class Begin, class End, class Value>
6767
void setslice(object const& target, Begin const& begin, End const& end, Value const& value)
6868
{
69-
return setslice(target, object(begin), object(end), object(value));
69+
setslice(target, object(begin), object(end), object(value));
7070
}
7171

7272
template <class Begin, class End>

0 commit comments

Comments
 (0)