diff options
author | Hop311 <hop3114@gmail.com> | 2023-09-09 22:49:52 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-09-09 22:50:29 +0200 |
commit | 3d7fbd9b376811ca0ed226fa78bcc8b6279ba8dc (patch) | |
tree | eb36a9b030b263d825eb93638e64deb0dbd38a78 /src/openvic-simulation/utility/StringUtils.hpp | |
parent | b4220ad73e14e3b497b2fdeb83d76a6633664764 (diff) |
Format cleanup and req comments
Diffstat (limited to 'src/openvic-simulation/utility/StringUtils.hpp')
-rw-r--r-- | src/openvic-simulation/utility/StringUtils.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/utility/StringUtils.hpp b/src/openvic-simulation/utility/StringUtils.hpp index 5d6001c..97efbed 100644 --- a/src/openvic-simulation/utility/StringUtils.hpp +++ b/src/openvic-simulation/utility/StringUtils.hpp @@ -26,7 +26,7 @@ namespace OpenVic::StringUtils { if (*str == '0') { if (str + 1 != end && (str[1] == 'x' || str[1] == 'X')) { base = 16; // Hexadecimal. - str += 2; // Skip '0x' or '0X' + str += 2; // Skip '0x' or '0X' if (str == end) return 0; } else { base = 8; // Octal. |