diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2014-11-03 00:44:21 +0000 |
---|---|---|
committer | andreas <andreas@daaaf23c-2e50-4459-9457-1e69db5a47bf> | 2014-11-03 00:44:21 +0000 |
commit | 126fa80b6d68bcc16cdc117d216a4fc01f9291d3 (patch) | |
tree | b7055621adcd09b27efefea7bbb12882ad27fdb9 /test/core/dom/NodeTest.cpp | |
parent | 7ec408fec2258567e64f0053227691381f48c359 (diff) |
autoformat
git-svn-id: file:///var/local/svn/basicwriter@95 daaaf23c-2e50-4459-9457-1e69db5a47bf
Diffstat (limited to 'test/core/dom/NodeTest.cpp')
-rw-r--r-- | test/core/dom/NodeTest.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/core/dom/NodeTest.cpp b/test/core/dom/NodeTest.cpp index cbe9bb8..3c50cda 100644 --- a/test/core/dom/NodeTest.cpp +++ b/test/core/dom/NodeTest.cpp @@ -34,8 +34,8 @@ TEST(NodeDescriptor, nodeDegree) // Do not use actual Node in this test -- we don't want to test their // behaviour NodeDescriptor nd; - Node *n1 = reinterpret_cast<Node*>(intptr_t{0x10}); - Node *n2 = reinterpret_cast<Node*>(intptr_t{0x20}); + Node *n1 = reinterpret_cast<Node *>(intptr_t{0x10}); + Node *n2 = reinterpret_cast<Node *>(intptr_t{0x20}); // Input degree ASSERT_EQ(0, nd.refIn.size()); @@ -228,7 +228,8 @@ public: void addRef(BaseHandle<Node> h) { refs.push_back(acquire(h)); } - void deleteRef(BaseHandle<Node> h) { + void deleteRef(BaseHandle<Node> h) + { for (auto it = refs.begin(); it != refs.end();) { if (*it == h) { it = refs.erase(it); @@ -387,8 +388,6 @@ TEST(NodeManager, disconnectSubgraph) } } } - - } } |