aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/safer
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/block/safer
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/block/safer')
-rw-r--r--src/block/safer/safer_sk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/safer/safer_sk.cpp b/src/block/safer/safer_sk.cpp
index eb5c22fc9..fcbe84c8b 100644
--- a/src/block/safer/safer_sk.cpp
+++ b/src/block/safer/safer_sk.cpp
@@ -112,7 +112,7 @@ void SAFER_SK::key_schedule(const byte key[], u32bit)
*/
std::string SAFER_SK::name() const
{
- return "SAFER-SK(" + to_string(ROUNDS) + ")";
+ return "SAFER-SK(" + std::to_string(ROUNDS) + ")";
}
/*