diff options
author | lloyd <[email protected]> | 2009-11-18 08:54:45 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-18 08:54:45 +0000 |
commit | 7a62a8c05ddf02073108f4117a80065d2d8ae7ec (patch) | |
tree | 2d53d3010e2f36951db035d2fe8bb3b8f4a1c6ff /src/asn1/asn1_str.cpp | |
parent | 6e45f118d112ee55b980a262b8b9ec67e66e9268 (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_str.cpp')
-rw-r--r-- | src/asn1/asn1_str.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asn1/asn1_str.cpp b/src/asn1/asn1_str.cpp index 25782e239..892a44472 100644 --- a/src/asn1/asn1_str.cpp +++ b/src/asn1/asn1_str.cpp @@ -89,7 +89,7 @@ ASN1_String::ASN1_String(const std::string& str, ASN1_Tag t) : tag(t) tag != UTF8_STRING && tag != BMP_STRING) throw Invalid_Argument("ASN1_String: Unknown string type " + - to_string(tag)); + std::to_string(tag)); } /* |