forked from organicmaps/organicmaps
[booking] android build fix
This commit is contained in:
parent
1c214d57ce
commit
492c88ad0a
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue