mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-14 07:23:26 +00:00
fixed warnings
This commit is contained in:
@@ -200,8 +200,8 @@ namespace omath
|
|||||||
m_columns = other.m_columns;
|
m_columns = other.m_columns;
|
||||||
m_data = std::move(other.m_data);
|
m_data = std::move(other.m_data);
|
||||||
|
|
||||||
other.m_rows = 0.f;
|
other.m_rows = 0;
|
||||||
other.m_columns = 0.f;
|
other.m_columns = 0;
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ namespace omath::pathfinding
|
|||||||
|
|
||||||
for (const auto& [vertex, neighbors] : m_verTextMap)
|
for (const auto& [vertex, neighbors] : m_verTextMap)
|
||||||
{
|
{
|
||||||
const uint16_t neighborsCount = neighbors.size();
|
const auto neighborsCount = neighbors.size();
|
||||||
|
|
||||||
dumpToVector(vertex, raw);
|
dumpToVector(vertex, raw);
|
||||||
dumpToVector(neighborsCount, raw);
|
dumpToVector(neighborsCount, raw);
|
||||||
|
|||||||
Reference in New Issue
Block a user