HomePhabricator
Diffusion MITK bc9e5664254f

COMP: fix warning (warning as errors) - comparison between signed and unsigned…

Description

COMP: fix warning (warning as errors) - comparison between signed and unsigned int

Details

Provenance
wildesAuthored on Nov 25 2016, 2:38 PM
wildesPushed on Nov 25 2016, 2:37 PM
Parents
rMITK23d87fd1248a: Convert Navigation Data To PointSet
Branches
Unknown
Tags
Unknown

Event Timeline

hentsch added inline comments.
/Modules/IGTBase/src/mitkNavigationDataSet.cpp
164

Should be size_t :)
vector.size() returns size_t. This is technically equal to unsigned int, but I had some GCC warnings about comparison between different types.
Consider using C++11 range based for loops, there you don't have the problem anymore :)