From 968863301a798a836f8cec107328bc43488864e2 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 14 Jan 2020 23:26:56 +0100 Subject: [PATCH] Mark ObtainToken constructor explicit. --- include/instance.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/instance.hpp b/include/instance.hpp index a7feb78..8f17525 100644 --- a/include/instance.hpp +++ b/include/instance.hpp @@ -226,7 +226,7 @@ public: class ObtainToken : public CURLWrapper { public: - ObtainToken(Instance &instance) + explicit ObtainToken(Instance &instance) : _instance{instance} , _baseuri{instance.get_baseuri()} {