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:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
class DummyNode;
|
||||
struct DummyNode;
|
||||
|
||||
typedef void (*LayoutFunction)(std::vector<DummyNode>&);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user