mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-27 16:33:38 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -31,13 +31,14 @@ MwmContext::MwmContext(MwmSet::MwmHandle handle, MwmType type) : MwmContext(std:
|
||||
|
||||
std::unique_ptr<FeatureType> MwmContext::GetFeature(uint32_t index, bool ignoreEditedStatus) const
|
||||
{
|
||||
if (ignoreEditedStatus) {
|
||||
if (ignoreEditedStatus)
|
||||
{
|
||||
auto ft = m_vector.GetByIndex(index);
|
||||
CHECK(ft, ());
|
||||
ft->SetID(FeatureID(GetId(), index));
|
||||
return ft;
|
||||
}
|
||||
|
||||
|
||||
std::unique_ptr<FeatureType> ft;
|
||||
switch (GetEditedStatus(index))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user