diff --git a/include/boost/python/object_protocol.hpp b/include/boost/python/object_protocol.hpp index e9b47bad..27461e26 100755 --- a/include/boost/python/object_protocol.hpp +++ b/include/boost/python/object_protocol.hpp @@ -14,27 +14,27 @@ namespace boost { namespace python { template -inline object getattr(Target const& target, Key const& key) +object getattr(Target const& target, Key const& key) { return getattr(object(target), object(key)); } template -inline void setattr(object const& target, Key const& key, Value const& value) +void setattr(object const& target, Key const& key, Value const& value) { return setattr(target, object(key), object(value)); } template -inline object getitem(Target const& target, Key const& key) +object getitem(Target const& target, Key const& key) { return getitem(object(target), object(key)); } template -inline void setitem(object const& target, Key const& key, Value const& value) +void setitem(object const& target, Key const& key, Value const& value) { return setitem(target, object(key), object(value)); }