summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-08-27 20:58:04 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-08-27 20:58:04 +0100
commit80dae9eb01141ba4da2db99c7ceecbceb491d703 (patch)
tree7152d1dfbbc7897f64f4e9dc17c7c65b5a20a84e /lib
parentAdd lots of tests over replicating most of the types (diff)
downloadmygrate-80dae9eb01141ba4da2db99c7ceecbceb491d703.tar.bz2
mygrate-80dae9eb01141ba4da2db99c7ceecbceb491d703.tar.xz
mygrate-80dae9eb01141ba4da2db99c7ceecbceb491d703.zip
Mark BufferOf constructor explicit
Diffstat (limited to 'lib')
-rw-r--r--lib/input/mysqlBindings.h2
1 files changed, 1 insertions, 1 deletions
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<typename T> struct BufferOf : public Buffer {
- template<typename S> BufferOf(const S & src) : val {}
+ template<typename S> explicit BufferOf(const S & src) : val {}
{
val << src;
}