encoding: Fixing bugs in EncodingBlock and Block
Several Block constructors incorrectly initialized value boundaries.
Change-Id: I0d8a4fe73cc24530245862e0428e617437078bf0
refs: #1256, #1257
diff --git a/src/common.hpp b/src/common.hpp
index bed6c3c..647e306 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -30,6 +30,7 @@
#include <boost/lexical_cast.hpp>
#include <boost/asio.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
+#include <boost/utility.hpp>
#include <boost/iostreams/detail/ios.hpp>
#include <boost/iostreams/categories.hpp>
@@ -49,8 +50,6 @@
namespace ptr_lib = std;
namespace func_lib = std;
-using std::noncopyable;
-
using std::shared_ptr;
using std::make_shared;
using std::enable_shared_from_this;
@@ -76,8 +75,6 @@
namespace ptr_lib = boost;
namespace func_lib = boost;
-using boost::noncopyable;
-
using boost::shared_ptr;
using boost::make_shared;
using boost::enable_shared_from_this;
@@ -91,6 +88,7 @@
namespace ndn {
+using boost::noncopyable;
/**
* A time interval represented as the number of milliseconds.