comments...
Change-Id: I1e2ab316114c4a21a10fe710a168f38b47f458f1
diff --git a/src/requester.cpp b/src/requester.cpp
index 737d0cc..710780a 100644
--- a/src/requester.cpp
+++ b/src/requester.cpp
@@ -34,6 +34,7 @@
#include <ndn-cxx/util/io.hpp>
#include <ndn-cxx/util/random.hpp>
#include <ndn-cxx/metadata-object.hpp>
+#include <boost/lexical_cast.hpp>
namespace ndn {
namespace ndncert {
@@ -313,10 +314,10 @@
return;
}
NDN_LOG_ERROR("Error info replied from the CA with Error code: " +
- errorCodeToString(std::get<0>(errorInfo)) +
+ boost::lexical_cast<std::string>(std::get<0>(errorInfo)) +
" and Error Info: " + std::get<1>(errorInfo));
NDN_THROW(std::runtime_error("Error info replied from the CA with Error code: " +
- errorCodeToString(std::get<0>(errorInfo)) +
+ boost::lexical_cast<std::string>(std::get<0>(errorInfo)) +
" and Error Info: " + std::get<1>(errorInfo)));
}