Skip to content
Snippets Groups Projects
Commit b9d4baf4 authored by Andreas Schenk's avatar Andreas Schenk
Browse files

fixed two infinite recursions

parent a17c2e67
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,7 @@ bool GfxNode::IsAttachedToScene() const ...@@ -141,7 +141,7 @@ bool GfxNode::IsAttachedToScene() const
void GfxNode::Add(GfxObjP obj) void GfxNode::Add(GfxObjP obj)
{ {
GfxNodeP node=obj; GfxNodeP node=obj;
this->Add(obj); this->Add(node);
} }
void GfxNode::Remove(GfxObjP obj) void GfxNode::Remove(GfxObjP obj)
......
...@@ -52,7 +52,7 @@ struct ChemType { ...@@ -52,7 +52,7 @@ struct ChemType {
} }
bool operator!=(const ChemType& cc) const { bool operator!=(const ChemType& cc) const {
return this->operator!=(cc); return cc.chem_type_!=chem_type_;
} }
bool IsIon() const { bool IsIon() const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment