Opened 18 years ago

Closed 18 years ago

#311 closed Bugs (Fixed)

object_protocol.hpp - setitem: void func cant return a value

Reported by: nobody Owned by: david_abrahams
Milestone: Component: python USE GITHUB
Version: None Severity:
Keywords: Cc:

Description

boost/python/object_protocol.hpp:

template <class Key, class Value>
void setitem(object const& target, Key const& key, Value 
const& value)
{
    return setitem(target, object(key), object(value));
}

won't compile on Tru64 Unix C++6.2
because of the return statement in a void function.
Regards,
Dario Cimafonte

Change History (1)

comment:1 by david_abrahams, 18 years ago

Status: assignedclosed
Logged In: YES 
user_id=52572

Fixed; thanks for the report!
Note: See TracTickets for help on using tickets.