DER encoding: implement DerGtime::fromIsoString.
diff --git a/ndn-cpp/encoding/der/der.cpp b/ndn-cpp/encoding/der/der.cpp
index 125b9a4..9d3258c 100644
--- a/ndn-cpp/encoding/der/der.cpp
+++ b/ndn-cpp/encoding/der/der.cpp
@@ -6,9 +6,6 @@
* See COPYING for copyright and distribution information.
*/
-#if 1 // TODO: Remove this when we don't throw "not implemented".
-#include <stdexcept>
-#endif
#include "der-exception.hpp"
#include "../../util/logging.hpp"
#include "../../c/util/time.h"
@@ -604,9 +601,7 @@
MillisecondsSince1970 DerGtime::fromIsoString(const string& isoString)
{
-#if 1
- throw std::runtime_error("not implemented");
-#endif
+ return ndn_fromIsoString(isoString.c_str());
}
} // der