aboutsummaryrefslogtreecommitdiffstats
path: root/src/asn1/asn1_oid.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-18 08:54:45 +0000
committerlloyd <[email protected]>2009-11-18 08:54:45 +0000
commit7a62a8c05ddf02073108f4117a80065d2d8ae7ec (patch)
tree2d53d3010e2f36951db035d2fe8bb3b8f4a1c6ff /src/asn1/asn1_oid.cpp
parent6e45f118d112ee55b980a262b8b9ec67e66e9268 (diff)
Remove to_string, replacing with std::to_string
Convert to_u32bit to use the new C++0x library func stoul instead of hand-written code.
Diffstat (limited to 'src/asn1/asn1_oid.cpp')
-rw-r--r--src/asn1/asn1_oid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asn1/asn1_oid.cpp b/src/asn1/asn1_oid.cpp
index 531ceb9b2..c72ee7a1a 100644
--- a/src/asn1/asn1_oid.cpp
+++ b/src/asn1/asn1_oid.cpp
@@ -44,7 +44,7 @@ std::string OID::as_string() const
std::string oid_str;
for(u32bit j = 0; j != id.size(); ++j)
{
- oid_str += to_string(id[j]);
+ oid_str += std::to_string(id[j]);
if(j != id.size() - 1)
oid_str += '.';
}