Quote:
error C3848: expression having type 'const id_compare' would lose some const-volatile qualifiers in order to call 'bool id_compare::operator ()(const boost::shared_ptr<ARDOUR::Playlist> &,const boost::shared_ptr<ARDOUR::Playlist> &)'
message : see reference to function template instantiation 'std::_Tree_find_result<std::_Tree_node<boost::shared_ptr<ARDOUR::Playlist>,std::_Default_allocator_traits<_Alloc>::void_pointer> *> std::_Tree<std::_Tset_traits<_Kty,_Pr,_Alloc,false>>::_Find_lower_bound<_Key>(const _Keyty &) const' being compiled
with
[
_Alloc=std::allocator<boost::shared_ptr<ARDOUR::Playlist>>,
_Kty=boost::shared_ptr<ARDOUR::Playlist>,
_Pr=id_compare,
_Key=boost::shared_ptr<ARDOUR::Playlist>,
_Keyty=boost::shared_ptr<ARDOUR::Playlist>
]
Can anyone see a problem with the above code? Or is it likely to be some kind of issue with the supplier (Playlist) object? :confused: