src: fixed clang warnings
This commit is contained in:
@@ -1203,7 +1203,7 @@ void GraphController::handleMessage(MessageColorSchemeTest* message)
|
||||
[&](Node* parent, Id id, Node::NodeType type, std::string name, AccessKind access)
|
||||
{
|
||||
Node* node = graph->createNode(id + 1000, type, NameHierarchy(name), true);
|
||||
Edge* edge = graph->createEdge(id + 10000, Edge::EDGE_MEMBER, parent, node);
|
||||
graph->createEdge(id + 10000, Edge::EDGE_MEMBER, parent, node);
|
||||
|
||||
if (access != ACCESS_NONE)
|
||||
{
|
||||
|
||||
@@ -268,6 +268,9 @@ GraphViewStyle::NodeMargins GraphViewStyle::getMarginsOfAccessNode(AccessKind ac
|
||||
case ACCESS_PRIVATE:
|
||||
margins.minWidth = 58;
|
||||
break;
|
||||
case ACCESS_DEFAULT:
|
||||
margins.minWidth = 60;
|
||||
break;
|
||||
case ACCESS_TEMPLATE_PARAMETER:
|
||||
case ACCESS_TYPE_PARAMETER:
|
||||
margins.minWidth = 133;
|
||||
|
||||
Reference in New Issue
Block a user