From 492c88ad0aa80824fa17f011640a523628c8b717 Mon Sep 17 00:00:00 2001 From: Arsentiy Milchakov Date: Tue, 14 Nov 2017 15:57:32 +0300 Subject: [PATCH] [booking] android build fix --- map/booking_filter_cache.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/map/booking_filter_cache.cpp b/map/booking_filter_cache.cpp index 90a7fda7c4..ba9cb1db6b 100644 --- a/map/booking_filter_cache.cpp +++ b/map/booking_filter_cache.cpp @@ -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)