From 512bbf3748f57dee2be10b10554629cd05c474e4 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 15 Feb 2019 16:00:54 +0100 Subject: Cleanup: Line wrapping --- source/blender/depsgraph/intern/node/deg_node_id.cc | 6 ++---- source/blender/depsgraph/intern/node/deg_node_id.h | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'source') diff --git a/source/blender/depsgraph/intern/node/deg_node_id.cc b/source/blender/depsgraph/intern/node/deg_node_id.cc index 119c5dd18c4..1c765a2f7a7 100644 --- a/source/blender/depsgraph/intern/node/deg_node_id.cc +++ b/source/blender/depsgraph/intern/node/deg_node_id.cc @@ -187,15 +187,13 @@ string IDNode::identifier() const : "false") + ")"; } -ComponentNode *IDNode::find_component(NodeType type, - const char *name) const +ComponentNode *IDNode::find_component(NodeType type, const char *name) const { ComponentIDKey key(type, name); return reinterpret_cast(BLI_ghash_lookup(components, &key)); } -ComponentNode *IDNode::add_component(NodeType type, - const char *name) +ComponentNode *IDNode::add_component(NodeType type, const char *name) { ComponentNode *comp_node = find_component(type, name); if (!comp_node) { diff --git a/source/blender/depsgraph/intern/node/deg_node_id.h b/source/blender/depsgraph/intern/node/deg_node_id.h index 7223f4a6215..fed8cfbdb2e 100644 --- a/source/blender/depsgraph/intern/node/deg_node_id.h +++ b/source/blender/depsgraph/intern/node/deg_node_id.h @@ -60,10 +60,8 @@ struct IDNode : public Node { virtual string identifier() const override; - ComponentNode *find_component(NodeType type, - const char *name = "") const; - ComponentNode *add_component(NodeType type, - const char *name = ""); + ComponentNode *find_component(NodeType type, const char *name = "") const; + ComponentNode *add_component(NodeType type, const char *name = ""); virtual void tag_update(Depsgraph *graph, eUpdateSource source) override; -- cgit v1.2.3