src: fixed clang warnings, fixed undefined symbols logs, fixed code convention violations
This commit is contained in:
@@ -3,11 +3,10 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "data/graph/Edge.h"
|
||||
#include "utility/math/Vector4.h"
|
||||
#include "utility/types.h"
|
||||
|
||||
#include "data/graph/Edge.h"
|
||||
|
||||
class GraphNode;
|
||||
|
||||
class GraphEdge
|
||||
@@ -47,7 +46,7 @@ public:
|
||||
|
||||
bool operator==(const DummyEdge& other) const
|
||||
{
|
||||
if(ownerId == other.ownerId && targetId == other.targetId)
|
||||
if (ownerId == other.ownerId && targetId == other.targetId)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@@ -61,11 +60,11 @@ public:
|
||||
|
||||
bool operator<(const DummyEdge& other) const
|
||||
{
|
||||
if(ownerId < other.ownerId )
|
||||
if (ownerId < other.ownerId )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else if(ownerId == other.ownerId)
|
||||
else if (ownerId == other.ownerId)
|
||||
{
|
||||
return (targetId < other.targetId);
|
||||
}
|
||||
@@ -84,4 +83,4 @@ public:
|
||||
Edge::EdgeType edgeType;
|
||||
};
|
||||
|
||||
#endif // GRAPH_EDGE_H
|
||||
#endif // GRAPH_EDGE_H
|
||||
|
||||
@@ -48,7 +48,7 @@ public:
|
||||
|
||||
bool operator==(const DummyNode& other) const
|
||||
{
|
||||
if(tokenId == other.tokenId
|
||||
if (tokenId == other.tokenId
|
||||
&& name == other.name
|
||||
&& position == position)
|
||||
{
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
|
||||
bool operator<(const DummyNode& other) const
|
||||
{
|
||||
if(tokenId < other.tokenId)
|
||||
if (tokenId < other.tokenId)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user