From ac0a941774c1a2cfeea935a6da347c7e90b8dc88 Mon Sep 17 00:00:00 2001 From: Luigi Ballabio Date: Tue, 17 Dec 2024 09:29:46 +0100 Subject: [PATCH] Explicit constructor --- ql/time/calendars/newzealand.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ql/time/calendars/newzealand.hpp b/ql/time/calendars/newzealand.hpp index 972573a98e..d5a074d010 100644 --- a/ql/time/calendars/newzealand.hpp +++ b/ql/time/calendars/newzealand.hpp @@ -82,7 +82,7 @@ namespace QuantLib { public: //! NZ calendars enum Market { Wellington, Auckland }; - NewZealand(Market market = Wellington); + explicit NewZealand(Market market = Wellington); }; }