summaryrefslogtreecommitdiff
path: root/ui/editNetwork.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-10-28 02:10:30 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2022-10-28 02:10:47 +0100
commit7a9d49a42b7db1703ee51489901f0262ad4ec2d0 (patch)
tree70c87067b2167bef1bbc202db8f9928a5b9306de /ui/editNetwork.h
parentImplement extending a network to join link ends (diff)
downloadilt-7a9d49a42b7db1703ee51489901f0262ad4ec2d0.tar.bz2
ilt-7a9d49a42b7db1703ee51489901f0262ad4ec2d0.tar.xz
ilt-7a9d49a42b7db1703ee51489901f0262ad4ec2d0.zip
EditNetworkOf constructor may have single param, should be explicit
Diffstat (limited to 'ui/editNetwork.h')
-rw-r--r--ui/editNetwork.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/editNetwork.h b/ui/editNetwork.h
index 1845eb7..3501ac9 100644
--- a/ui/editNetwork.h
+++ b/ui/editNetwork.h
@@ -48,7 +48,7 @@ private:
template<typename T> class EditNetworkOf : public EditNetwork {
public:
template<typename... P>
- EditNetworkOf(P &&... p) : EditNetwork(gameState->world.findOrCreate<T>(), std::forward<P>(p)...)
+ explicit EditNetworkOf(P &&... p) : EditNetwork(gameState->world.findOrCreate<T>(), std::forward<P>(p)...)
{
}
};