From 80dae9eb01141ba4da2db99c7ceecbceb491d703 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 27 Aug 2021 20:58:04 +0100 Subject: Mark BufferOf constructor explicit --- lib/input/mysqlBindings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/input') diff --git a/lib/input/mysqlBindings.h b/lib/input/mysqlBindings.h index 449c465..4fbec27 100644 --- a/lib/input/mysqlBindings.h +++ b/lib/input/mysqlBindings.h @@ -26,7 +26,7 @@ namespace MyGrate::Input { virtual ~Buffer() = default; }; template struct BufferOf : public Buffer { - template BufferOf(const S & src) : val {} + template explicit BufferOf(const S & src) : val {} { val << src; } -- cgit v1.2.3