Skip to content
Snippets Groups Projects
Commit 01dbf32d authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[T/NL] Explicit cast to int of components number.

parent a3eb430a
No related branches found
No related tags found
No related merge requests found
...@@ -108,7 +108,7 @@ public: ...@@ -108,7 +108,7 @@ public:
std::vector<int> const& selected_components, std::vector<int> const& selected_components,
NL::ComponentOrder const order) NL::ComponentOrder const order)
{ {
assert(selected_components.size() <= num_components); assert(static_cast<int>(selected_components.size()) <= num_components);
std::vector<MeshLib::MeshSubsets> components; std::vector<MeshLib::MeshSubsets> components;
for (int i = 0; i < num_components; ++i) for (int i = 0; i < num_components; ++i)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment