Adjust includes for the updated locations of ndn-cxx security headers
Change-Id: Ia4a82d7a4a56bfa88e62adab6a1e31bbe459e773
diff --git a/tools/chunks/catchunks/consumer.hpp b/tools/chunks/catchunks/consumer.hpp
index 10008c9..9972d76 100644
--- a/tools/chunks/catchunks/consumer.hpp
+++ b/tools/chunks/catchunks/consumer.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2016-2018, Regents of the University of California,
+ * Copyright (c) 2016-2020, Regents of the University of California,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University.
*
@@ -31,8 +31,8 @@
#include "discover-version.hpp"
#include "pipeline-interests.hpp"
-#include <ndn-cxx/security/v2/validation-error.hpp>
-#include <ndn-cxx/security/v2/validator.hpp>
+#include <ndn-cxx/security/validation-error.hpp>
+#include <ndn-cxx/security/validator.hpp>
namespace ndn {
namespace chunks {
@@ -61,7 +61,7 @@
{
public:
explicit
- DataValidationError(const security::v2::ValidationError& error)
+ DataValidationError(const security::ValidationError& error)
: std::runtime_error(boost::lexical_cast<std::string>(error))
{
}
@@ -71,7 +71,7 @@
* @brief Create the consumer
*/
explicit
- Consumer(security::v2::Validator& validator, std::ostream& os = std::cout);
+ Consumer(security::Validator& validator, std::ostream& os = std::cout);
/**
* @brief Run the consumer
@@ -88,7 +88,7 @@
writeInOrderData();
private:
- security::v2::Validator& m_validator;
+ security::Validator& m_validator;
std::ostream& m_outputStream;
unique_ptr<DiscoverVersion> m_discover;
unique_ptr<PipelineInterests> m_pipeline;