encoding: Making two versions of Block constructor explicit
Change-Id: I0bbd09ba13f6f9b3d684181f12289809206c8137
diff --git a/include/ndn-cpp/encoding/block.hpp b/include/ndn-cpp/encoding/block.hpp
index 6d104b1..1383343 100644
--- a/include/ndn-cpp/encoding/block.hpp
+++ b/include/ndn-cpp/encoding/block.hpp
@@ -64,6 +64,7 @@
/**
* @brief Create Block of a specific type with empty wire buffer
*/
+ explicit
Block(uint32_t type);
/**
@@ -82,6 +83,7 @@
* to construct wire encoding, one need to prepend the wire buffer with type
* and value-length VAR-NUMBERs
*/
+ explicit
Block(uint32_t type, const Block &value);
/**