use ndn::optional instead of boost::optional
Change-Id: If4db620ac410ddf5d8a082b26bdc8fef0b4c1b46
diff --git a/src/configuration.hpp b/src/configuration.hpp
index c881786..8fc3c74 100644
--- a/src/configuration.hpp
+++ b/src/configuration.hpp
@@ -53,7 +53,7 @@
* E.g., When its value is 2, at most 2 name components can be assigned after m_caPrefix.
* Default: none.
*/
- boost::optional<size_t> m_maxSuffixLength;
+ optional<size_t> m_maxSuffixLength = nullopt;
/**
* A list of supported challenges. Only CA side will have m_supportedChallenges.
* Default: empty list.
@@ -127,7 +127,7 @@
* Used for CA redirection as specified in
* https://github.com/named-data/ndncert/wiki/NDNCERT-Protocol-0.3-PROBE-Extensions#probe-extension-for-redirection
*/
- boost::optional<std::vector<std::shared_ptr<security::Certificate>>> m_redirection;
+ optional<std::vector<std::shared_ptr<security::Certificate>>> m_redirection = nullopt;
/**
* StatusUpdate Callback function
*/