aboutsummaryrefslogtreecommitdiff
path: root/src/utils.hpp
blob: be299c780bbe97911653388f7c65323c67e610fd (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include <string>

/**
 * Converts a string to a unsigned integer.
 *
 * @param str A string that possibly is a unsigned integer
 * @returns A unsigned integer
 */
unsigned int str_to_uint(std::string str);