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/block/rc5 | |
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/block/rc5')
-rw-r--r-- | src/block/rc5/rc5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/rc5/rc5.cpp b/src/block/rc5/rc5.cpp index 0bd596b10..1b71de85a 100644 --- a/src/block/rc5/rc5.cpp +++ b/src/block/rc5/rc5.cpp @@ -99,7 +99,7 @@ void RC5::key_schedule(const byte key[], u32bit length) */ std::string RC5::name() const { - return "RC5(" + to_string(ROUNDS) + ")"; + return "RC5(" + std::to_string(ROUNDS) + ")"; } /* |