diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-10-13 20:27:46 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-10-13 20:27:46 +0100 |
commit | fab2d34959c52383f6be3cb6634c6776b41f62a8 (patch) | |
tree | cbf8f4b717d50af882689b5e012c2e3737f44077 /test | |
parent | Inheritable of standard typedefs (diff) | |
download | ilt-fab2d34959c52383f6be3cb6634c6776b41f62a8.tar.bz2 ilt-fab2d34959c52383f6be3cb6634c6776b41f62a8.tar.xz ilt-fab2d34959c52383f6be3cb6634c6776b41f62a8.zip |
Standard typedefs for Node
Diffstat (limited to 'test')
-rw-r--r-- | test/test-network.cpp | 4 |
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; }; |