[booking] android build fix

This commit is contained in:
Arsentiy Milchakov 2017-11-14 15:57:32 +03:00 committed by Yuri Gorshenin
parent 1c214d57ce
commit 492c88ad0a

View file

@ -35,7 +35,8 @@ Cache::HotelStatus Cache::Get(std::string const & hotelId)
void Cache::Reserve(std::string const & hotelId)
{
m_hotelToResult.emplace(hotelId, HotelStatus::NotReady);
Item item;
m_hotelToResult.emplace(hotelId, std::move(item));
}
void Cache::Insert(std::string const & hotelId, HotelStatus const s)