MCPcopy Create free account
hub / github.com/comaps/comaps / GetId

Method GetId

android/sdk/src/main/cpp/app/organicmaps/sdk/util/HttpClient.cpp:147–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 }
146
147 jfieldID GetId(std::string const & fieldName) const
148 {
149 auto const it = m_fieldIds.find(fieldName);
150 CHECK(it != m_fieldIds.end(), ("Incorrect field name:", fieldName));
151 return it->second;
152 }
153
154private:
155 ankerl::unordered_dense::map<std::string, jfieldID> m_fieldIds;

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected