diff options
author | lloyd <[email protected]> | 2012-11-02 18:44:17 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-11-02 18:44:17 +0000 |
commit | 4d99f95923789513528617347c435e981b20689b (patch) | |
tree | 21b9bb943f97580285d6868d99d72b6bafc8ace5 /src/utils/parsing.cpp | |
parent | ba05a520c391fa2d605314ec9d07fc51c9ab45f6 (diff) |
Move to_u32bit to source file. Add map_remove_if helper
Diffstat (limited to 'src/utils/parsing.cpp')
-rw-r--r-- | src/utils/parsing.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/parsing.cpp b/src/utils/parsing.cpp index c3d7f00f7..1e90f2f6e 100644 --- a/src/utils/parsing.cpp +++ b/src/utils/parsing.cpp @@ -12,6 +12,11 @@ namespace Botan { +u32bit to_u32bit(const std::string& str) + { + return std::stoul(str); + } + /* * Convert a string into a time duration */ |