change BOOST_THROW to NDN_THROW
Change-Id: Ic5a0192302dd2965258d616fe163f3539b2104ea
diff --git a/src/ca-storage/ca-memory.cpp b/src/ca-storage/ca-memory.cpp
index e08a822..206f431 100644
--- a/src/ca-storage/ca-memory.cpp
+++ b/src/ca-storage/ca-memory.cpp
@@ -40,7 +40,7 @@
{
auto search = m_requests.find(requestId);
if (search == m_requests.end()) {
- BOOST_THROW_EXCEPTION(std::runtime_error("Request " + requestId + " doest not exists"));
+ NDN_THROW(std::runtime_error("Request " + requestId + " doest not exists"));
}
return search->second;
}
@@ -53,7 +53,7 @@
m_requests[request.m_requestId] = request;
}
else {
- BOOST_THROW_EXCEPTION(std::runtime_error("Request " + request.m_requestId + " already exists"));
+ NDN_THROW(std::runtime_error("Request " + request.m_requestId + " already exists"));
}
}