mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-09 06:18:05 -05:00
12 lines
281 B
C++
12 lines
281 B
C++
#include "LocalizeReadingZoneState.h"
|
|
|
|
bool LocalizeReadingZoneState::DoLocalizeEntryDuplicateCheck(const std::string& key)
|
|
{
|
|
const auto existingEntry = m_keys.find(key);
|
|
if (existingEntry != m_keys.end())
|
|
return false;
|
|
|
|
m_keys.emplace(key);
|
|
return true;
|
|
}
|