17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 07:29:20 +02:00

refactor(sonar): prefer using over typedef (cpp:S5416)

This commit is contained in:
jerrrrycho
2026-10-10 15:05:42 +02:00
parent 6b0617cc97
commit 3f1c9720fb
10 changed files with 23 additions and 23 deletions

View File

@@ -26,8 +26,8 @@ public:
private:
// types:
typedef std::deque<TMdlContainer> modelcontainer_sequence;
typedef std::unordered_map<std::string, modelcontainer_sequence::size_type> stringmodelcontainerindex_map;
using modelcontainer_sequence = std::deque<TMdlContainer>;
using stringmodelcontainerindex_map = std::unordered_map<std::string, modelcontainer_sequence::size_type>;
// members:
static modelcontainer_sequence m_models;
static stringmodelcontainerindex_map m_modelsmap;