code style: Don't use std:: inside .cpp files.
diff --git a/ndn-cpp/name.cpp b/ndn-cpp/name.cpp
index 6f42635..22476af 100644
--- a/ndn-cpp/name.cpp
+++ b/ndn-cpp/name.cpp
@@ -119,7 +119,7 @@
ndn_Error error;
if ((error = ndn_NameComponent_toNumberWithMarker(&componentStruct, marker, &result)))
- throw std::runtime_error(ndn_getErrorString(error));
+ throw runtime_error(ndn_getErrorString(error));
return result;
}
@@ -282,7 +282,7 @@
return *this;
}
-std::string
+string
Name::toUri() const
{
if (components_.size() == 0)