Commit 58127c8a authored by Jason Rhinelander's avatar Jason Rhinelander

Fixed add(Container) return type (void, not Lock)

parent c0c83011
......@@ -270,7 +270,7 @@ class Member : private noncopyable {
/** Container-accepting version of add(). */
template <class Container>
typename std::enable_if<std::is_base_of<Member, typename Container::value_type::member_type>::value, Lock
typename std::enable_if<std::is_base_of<Member, typename Container::value_type::member_type>::value
>::type add(const Container &members) {
bool add_failed = false;
for (auto &mem : members) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment