summaryrefslogtreecommitdiff
path: root/test/test-network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-network.cpp')
-rw-r--r--test/test-network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-network.cpp b/test/test-network.cpp
index af2c76e..bfcf64b 100644
--- a/test/test-network.cpp
+++ b/test/test-network.cpp
@@ -19,8 +19,8 @@
#include <vector>
struct TestLink : public LinkStraight {
- TestLink(NodePtr a, NodePtr b) : TestLink {a, b, glm::distance(a->pos, b->pos)} { }
- TestLink(NodePtr a, NodePtr b, float l) : Link {{std::move(a), 0}, {std::move(b), pi}, l} { }
+ TestLink(Node::Ptr a, Node::Ptr b) : TestLink {a, b, glm::distance(a->pos, b->pos)} { }
+ TestLink(Node::Ptr a, Node::Ptr b, float l) : Link {{std::move(a), 0}, {std::move(b), pi}, l} { }
using StraightLink = TestLink;
};