aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/utility
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-09-09 22:49:52 +0200
committer Hop311 <hop3114@gmail.com>2023-09-09 22:50:29 +0200
commit3d7fbd9b376811ca0ed226fa78bcc8b6279ba8dc (patch)
treeeb36a9b030b263d825eb93638e64deb0dbd38a78 /src/openvic-simulation/utility
parentb4220ad73e14e3b497b2fdeb83d76a6633664764 (diff)
Format cleanup and req comments
Diffstat (limited to 'src/openvic-simulation/utility')
-rw-r--r--src/openvic-simulation/utility/StringUtils.hpp2
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.