Skip to content
Snippets Groups Projects
Commit b6bea3f0 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix warnings

parent d9f75737
No related branches found
No related tags found
No related merge requests found
...@@ -48,9 +48,9 @@ class gLevelsetPostView : public gLevelsetPrimitive ...@@ -48,9 +48,9 @@ class gLevelsetPostView : public gLevelsetPrimitive
int _viewIndex; int _viewIndex;
OctreePost *_octree; OctreePost *_octree;
public: public:
gLevelsetPostView(int index, int &tag) : _viewIndex(index), gLevelsetPrimitive(tag) gLevelsetPostView(int index, int &tag) : gLevelsetPrimitive(tag), _viewIndex(index)
{ {
if(_viewIndex >= 0 && _viewIndex < PView::list.size()){ if(_viewIndex >= 0 && _viewIndex < (int)PView::list.size()){
PView *view = PView::list[_viewIndex]; PView *view = PView::list[_viewIndex];
_octree = new OctreePost(view); _octree = new OctreePost(view);
} }
......
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