From 126fa80b6d68bcc16cdc117d216a4fc01f9291d3 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Mon, 3 Nov 2014 00:44:21 +0000 Subject: autoformat git-svn-id: file:///var/local/svn/basicwriter@95 daaaf23c-2e50-4459-9457-1e69db5a47bf --- test/core/dom/NodeTest.cpp | 9 ++++----- 1 file 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(intptr_t{0x10}); - Node *n2 = reinterpret_cast(intptr_t{0x20}); + Node *n1 = reinterpret_cast(intptr_t{0x10}); + Node *n2 = reinterpret_cast(intptr_t{0x20}); // Input degree ASSERT_EQ(0, nd.refIn.size()); @@ -228,7 +228,8 @@ public: void addRef(BaseHandle h) { refs.push_back(acquire(h)); } - void deleteRef(BaseHandle h) { + void deleteRef(BaseHandle h) + { for (auto it = refs.begin(); it != refs.end();) { if (*it == h) { it = refs.erase(it); @@ -387,8 +388,6 @@ TEST(NodeManager, disconnectSubgraph) } } } - - } } -- cgit v1.2.3