Skip to content
Snippets Groups Projects
Commit 5b7acc3a authored by Adrien Béraud's avatar Adrien Béraud Committed by Sébastien Blin
Browse files

string utils: inline to_int

Change-Id: I82425bd8beb77dae3f399aa0e79818e3029ae80b
parent 2f17f731
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ std::string to_hex_string(uint64_t id);
uint64_t from_hex_string(const std::string& str);
template<typename T>
T
inline T
to_int(std::string_view str, T defaultValue)
{
T result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment