diff options
Diffstat (limited to 'src/libs/engine/GraphObject.h')
-rw-r--r-- | src/libs/engine/GraphObject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/GraphObject.h b/src/libs/engine/GraphObject.h index cf46f895..ffe6076b 100644 --- a/src/libs/engine/GraphObject.h +++ b/src/libs/engine/GraphObject.h @@ -48,8 +48,8 @@ public: : _parent(parent), _name(name) { assert(parent == NULL || _name.length() > 0); - assert(parent == NULL || _name.find("/") == string::npos); - assert(((string)path()).find("//") == string::npos); + assert(_name.find("/") == string::npos); + assert(path().find("//") == string::npos); } virtual ~GraphObject() {} |