From c4ba42fa4b2972ac1f636b6683f791dd72b71036 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Nov 2020 17:57:58 +0100 Subject: Make single-argument constructors explicit --- src/PortID.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PortID.hpp') diff --git a/src/PortID.hpp b/src/PortID.hpp index 06d25ec..5b3ec8b 100644 --- a/src/PortID.hpp +++ b/src/PortID.hpp @@ -49,7 +49,7 @@ struct PortID } #ifdef PATCHAGE_LIBJACK - PortID(jack_port_id_t jack_id, bool ign = false) + explicit PortID(jack_port_id_t jack_id, bool ign = false) : type(Type::jack_id) { id.jack_id = jack_id; -- cgit v1.2.1