smaller changes

Signed-off-by: map-per <map-per@gmx.de>
This commit is contained in:
map-per
2025-12-11 15:58:26 +01:00
parent 29df6cd942
commit 5d505daff5
2 changed files with 3 additions and 5 deletions

View File

@@ -9,8 +9,8 @@ using namespace editor;
UNIT_TEST(loadConfigFile)
{
// loadConfigFile() is executed in the constructor
TypeToOSMTranslator typeToOsm;
typeToOsm.loadConfigFile();
}
UNIT_TEST(osmTagsFromType)

View File

@@ -6,6 +6,7 @@
namespace editor
{
struct OSMTag
{
std::string key;
@@ -14,17 +15,14 @@ struct OSMTag
class TypeToOSMTranslator
{
public:
TypeToOSMTranslator();
void loadConfigFile();
//static void osmTagsFromType(uint32_t type);
std::vector<OSMTag> osmTagsFromType(uint32_t type);
std::vector<OSMTag> osmTagsFromType(uint32_t type);
private:
std::map<uint32_t, std::vector<OSMTag>> m_storage;
};
TypeToOSMTranslator & getOSMTranslator();