Unordered map instead regular

This commit is contained in:
DH
2026-02-27 19:09:18 -05:00
parent b6348e16f5
commit bd4cdd53a4

View File

@@ -1,6 +1,6 @@
#ifndef TYPEFACTORY_H #ifndef TYPEFACTORY_H
#define TYPEFACTORY_H #define TYPEFACTORY_H
#include <map> #include <unordered_map>
#include <memory> #include <memory>
/** /**
@@ -94,7 +94,7 @@ class TypeFsactory {
/** /**
* @brief classes - main storage for pointers to constructors of registered types * @brief classes - main storage for pointers to constructors of registered types
*/ */
std::map<ClassId_T, typefactoryFunction> classes; std::unordered_map<ClassId_T, typefactoryFunction> classes;
private: private:
/** /**