change request id to be bytes
Change-Id: If980f23259a31acc59d17e3115a27320e94dcacb
diff --git a/src/detail/ca-memory.hpp b/src/detail/ca-memory.hpp
index 842121b..0c2fa34 100644
--- a/src/detail/ca-memory.hpp
+++ b/src/detail/ca-memory.hpp
@@ -37,7 +37,7 @@
* @throw if request cannot be fetched from underlying data storage
*/
CaState
- getRequest(const std::string& requestId) override;
+ getRequest(const RequestID& requestId) override;
/**
* @throw if there is an existing request with the same request ID
@@ -49,7 +49,7 @@
updateRequest(const CaState& request) override;
void
- deleteRequest(const std::string& requestId) override;
+ deleteRequest(const RequestID& requestId) override;
std::list<CaState>
listAllRequests() override;
@@ -58,7 +58,7 @@
listAllRequests(const Name& caName) override;
private:
- std::map<Name, CaState> m_requests;
+ std::map<RequestID, CaState> m_requests;
};
} // namespace ndncert