Migrate to C++17 and refactor
Change-Id: I53407266939258990a1c3a9363c3ebe9ea113fd2
diff --git a/src/redirection/redirection-email.cpp b/src/redirection/redirection-email.cpp
index 863eb91..c13ad91 100644
--- a/src/redirection/redirection-email.cpp
+++ b/src/redirection/redirection-email.cpp
@@ -19,16 +19,16 @@
*/
#include "redirection-email.hpp"
+
#include <boost/algorithm/string.hpp>
namespace ndncert {
-NDNCERT_REGISTER_POLICY_FACTORY(RedirectionEmail, "email");
+NDNCERT_REGISTER_REDIRECTION_POLICY(RedirectionEmail, "email");
RedirectionEmail::RedirectionEmail(const std::string& format)
- : RedirectionPolicy(format)
+ : m_domain(format)
{
- m_domain = format;
}
bool