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

[GL] Fix warning. Initialization of bool with int.

parent 3210f101
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ public:
// First component of the pair signals if the minimum point is changed
// Second component signals not only if the max point is changed.
// Furthermore it is signaled what coordinate (0,1,2) is changed.
std::pair<bool,std::bitset<3>> updated(0,0);
std::pair<bool, std::bitset<3>> updated(false, 0);
for (std::size_t k(0); k<3; k++) {
// if the minimum point is updated pair.first==true
if (p[k] < _min_pnt[k]) {
......
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