fixed warnings

This commit is contained in:
2024-09-03 22:10:09 +03:00
parent fd080606dd
commit 0deaf73d9b
2 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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);