Added constructor Blob(const ptr_lib::shared_ptr<const std::vector<unsigned char> > &value).
diff --git a/ndn-cpp/util/blob.hpp b/ndn-cpp/util/blob.hpp
index d7c3e5e..12c19dc 100644
--- a/ndn-cpp/util/blob.hpp
+++ b/ndn-cpp/util/blob.hpp
@@ -59,6 +59,10 @@
: ptr_lib::shared_ptr<const std::vector<unsigned char> >(value)
{
}
+ Blob(const ptr_lib::shared_ptr<const std::vector<unsigned char> > &value)
+ : ptr_lib::shared_ptr<const std::vector<unsigned char> >(value)
+ {
+ }
/**
* Return the length of the immutable byte array.