Merge pull request #3400 from syershov/MAPSME-1281

Fix compile on linux
This commit is contained in:
Ilya Zverev 2016-06-01 17:07:50 +04:00
commit fd0262189d

View file

@ -52,8 +52,8 @@ public:
string descUrl;
uint32_t type = 0;
constexpr size_t Index(Fields field) const { return static_cast<size_t>(field); }
constexpr size_t FieldsCount() const { return static_cast<size_t>(Fields::Counter); }
static constexpr size_t Index(Fields field) { return static_cast<size_t>(field); }
static constexpr size_t FieldsCount() { return static_cast<size_t>(Fields::Counter); }
explicit Hotel(string const & src);
};