diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-10-11 00:40:25 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-10-11 00:40:25 +0100 |
commit | fbc6c0eed90fb704524eb503a4f7dae9e0d9dca2 (patch) | |
tree | d60e00774f3333d4f869050e40cb68e5d27d5ea3 /game/network/network.impl.h | |
parent | GameMainSelector provides world overlay and renders its target (diff) | |
download | ilt-fbc6c0eed90fb704524eb503a4f7dae9e0d9dca2.tar.bz2 ilt-fbc6c0eed90fb704524eb503a4f7dae9e0d9dca2.tar.xz ilt-fbc6c0eed90fb704524eb503a4f7dae9e0d9dca2.zip |
Fix return type of network link factories
Diffstat (limited to 'game/network/network.impl.h')
-rw-r--r-- | game/network/network.impl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/game/network/network.impl.h b/game/network/network.impl.h index 37d03f8..4e2b37e 100644 --- a/game/network/network.impl.h +++ b/game/network/network.impl.h @@ -38,15 +38,15 @@ NetworkOf<T>::intersectRayLinks(const Ray & ray) const } template<typename T> -LinkPtr +LinkCPtr NetworkOf<T>::addStraight(glm::vec3 n1, glm::vec3 n2) { return addLink<typename T::StraightLink>(n1, n2); } template<typename T> -LinkPtr +CLinks NetworkOf<T>::addJoins(glm::vec3 n1, glm::vec3 n2) { - return addLink<typename T::StraightLink>(n1, n2); + return {addLink<typename T::StraightLink>(n1, n2)}; } |