diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-08-27 20:58:04 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-08-27 20:58:04 +0100 |
commit | 80dae9eb01141ba4da2db99c7ceecbceb491d703 (patch) | |
tree | 7152d1dfbbc7897f64f4e9dc17c7c65b5a20a84e | |
parent | Add lots of tests over replicating most of the types (diff) | |
download | mygrate-80dae9eb01141ba4da2db99c7ceecbceb491d703.tar.bz2 mygrate-80dae9eb01141ba4da2db99c7ceecbceb491d703.tar.xz mygrate-80dae9eb01141ba4da2db99c7ceecbceb491d703.zip |
Mark BufferOf constructor explicit
-rw-r--r-- | lib/input/mysqlBindings.h | 2 |
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; } |