build: fixed errors in clang

* removed const m_dimensions in VectorBase and replaced it with N
* changed signature of DummyNode::operator=
* fixed warning for DummyNode wrongly declared as class
This commit is contained in:
Eberhard Graether
2014-07-16 11:54:16 +02:00
parent ec42ef708d
commit 810ed7c064
3 changed files with 18 additions and 27 deletions
@@ -76,13 +76,14 @@ public:
return !(*this < other);
}
void operator=(DummyNode& other)
DummyNode& operator=(const DummyNode& other)
{
name = other.name;
tokenId = other.tokenId;
position = other.position;
subNodes = other.subNodes;
actualNode = other.actualNode;
return *this;
}
std::string name;