diff options
-rw-r--r-- | libdbpp/dbTypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdbpp/dbTypes.h b/libdbpp/dbTypes.h index 7f6dc5e..6589784 100644 --- a/libdbpp/dbTypes.h +++ b/libdbpp/dbTypes.h @@ -22,7 +22,8 @@ namespace DB { } /// Construct a reference using C++ vector pointer to a collection of objects. template<typename T> - explicit Blob(const std::vector<T> & v) : + // NOLINTNEXTLINE(hicpp-explicit-conversions) + Blob(const std::vector<T> & v) : data(&v.front()), len(sizeof(T) * v.size()) { |