CHotel& hotel = *it; I have problem on this row . When i'm trying to compile all code i get error binding of reference to a value of type drops qualifiers.
void addHotel(CHotel & hotel) {
m_veriga.insert(hotel);
multiset<CHotel>::iterator it;
for (it = m_veriga.begin(); it != m_veriga.end(); ++it)
{
CHotel& hotel = *it;
cout << hotel.getHotelName() << endl;
}
}