From 7a9d49a42b7db1703ee51489901f0262ad4ec2d0 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 28 Oct 2022 02:10:30 +0100 Subject: EditNetworkOf constructor may have single param, should be explicit --- ui/editNetwork.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 class EditNetworkOf : public EditNetwork { public: template - EditNetworkOf(P &&... p) : EditNetwork(gameState->world.findOrCreate(), std::forward

(p)...) + explicit EditNetworkOf(P &&... p) : EditNetwork(gameState->world.findOrCreate(), std::forward

(p)...) { } }; -- cgit v1.2.3