mgmt: mark StatusDatasetContext as noncopyable
This commit also changes function-by-value to function-by-const-reference
in Dispatcher.
refs #2107
Change-Id: If7859579ea9cdd953476642c05104355acdf1620
diff --git a/src/mgmt/status-dataset-context.hpp b/src/mgmt/status-dataset-context.hpp
index 196a296..6a2d02a 100644
--- a/src/mgmt/status-dataset-context.hpp
+++ b/src/mgmt/status-dataset-context.hpp
@@ -35,7 +35,9 @@
namespace ndn {
namespace mgmt {
-class StatusDatasetContext
+/** \brief provides a context for generating response to a StatusDataset request
+ */
+class StatusDatasetContext : noncopyable
{
public:
/** \return prefix of Data packets, with version component but without segment component