--warnings
This commit is contained in:
@@ -911,7 +911,7 @@ SGPropertyNode_ptr
|
||||
SGPropertyNode::removeChild (int pos, bool keep)
|
||||
{
|
||||
SGPropertyNode_ptr node;
|
||||
if (pos < 0 || pos >= _children.size())
|
||||
if (pos < 0 || pos >= (int)_children.size())
|
||||
return node;
|
||||
|
||||
vector<SGPropertyNode_ptr>::iterator it = _children.begin();
|
||||
|
||||
@@ -1185,9 +1185,9 @@ private:
|
||||
|
||||
class hash_table;
|
||||
|
||||
int _index;
|
||||
string _name;
|
||||
mutable string _display_name;
|
||||
int _index;
|
||||
/// To avoid cyclic reference counting loops this shall not be a reference
|
||||
/// counted pointer
|
||||
SGPropertyNode * _parent;
|
||||
|
||||
Reference in New Issue
Block a user