2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-20 04:42:28 +00:00

nonconformance workaround from Gottfried.Ganssauge@HAUFE.DE

[SVN r16653]
This commit is contained in:
Dave Abrahams
2002-12-18 17:56:42 +00:00
parent 14c7d9ab14
commit df24f29232

View File

@@ -29,7 +29,7 @@ object getattr(Target const& target, Key const& key, Default const& default_)
template <class Key, class Value>
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 <class Key>
@@ -66,7 +66,7 @@ object getslice(Target const& target, Begin const& begin, End const& end)
template <class Begin, class End, class Value>
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 <class Begin, class End>