summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdbpp/dbTypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdbpp/dbTypes.h b/libdbpp/dbTypes.h
index ba79b06..5fd0e7b 100644
--- a/libdbpp/dbTypes.h
+++ b/libdbpp/dbTypes.h
@@ -17,6 +17,7 @@ namespace DB {
template<typename T> explicit Blob(const T * t) : data(t), len(sizeof(T)) { }
/// Construct a reference using C++ vector pointer to a collection of objects.
template<typename T>
+ // cppcheck-suppress noExplicitConstructor
// NOLINTNEXTLINE(hicpp-explicit-conversions)
Blob(const std::vector<T> & v) : data(&v.front()), len(sizeof(T) * v.size())
{