diff --git a/source/Matrix.cpp b/source/Matrix.cpp index 1c01ddd..6d2e11b 100644 --- a/source/Matrix.cpp +++ b/source/Matrix.cpp @@ -200,8 +200,8 @@ namespace omath m_columns = other.m_columns; m_data = std::move(other.m_data); - other.m_rows = 0.f; - other.m_columns = 0.f; + other.m_rows = 0; + other.m_columns = 0; return *this; diff --git a/source/pathfinding/NavigationMesh.cpp b/source/pathfinding/NavigationMesh.cpp index 8b96248..1a106df 100644 --- a/source/pathfinding/NavigationMesh.cpp +++ b/source/pathfinding/NavigationMesh.cpp @@ -43,7 +43,7 @@ namespace omath::pathfinding for (const auto& [vertex, neighbors] : m_verTextMap) { - const uint16_t neighborsCount = neighbors.size(); + const auto neighborsCount = neighbors.size(); dumpToVector(vertex, raw); dumpToVector(neighborsCount, raw);