Commit 440d4281 authored by Simon Giesecke's avatar Simon Giesecke

Problem: single-argument ctor of blob_t is not marked explicit

Solution: add explicit
parent cbd52feb
......@@ -72,7 +72,7 @@ struct blob_t
blob_t () : data_ (0), size_ (0), owned_ (true) {}
// Creates a blob_t of a given size, with uninitialized content.
blob_t (const size_t size) :
explicit blob_t (const size_t size) :
data_ ((unsigned char *) malloc (size)),
size_ (size),
owned_ (true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment