aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-04-18 21:59:27 +0200
committerStefan Boberg <[email protected]>2023-04-18 21:59:27 +0200
commitea4d54f1d5746163412733cf4b3eb347f4cd0633 (patch)
tree2923461001161cccbd2ba8facf864d3e8d73077c /zencore/include
parentfix gcc warning about potentially unitialized variable (diff)
downloadzen-ea4d54f1d5746163412733cf4b3eb347f4cd0633.tar.xz
zen-ea4d54f1d5746163412733cf4b3eb347f4cd0633.zip
clang-format fix
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/include/zencore/string.h b/zencore/include/zencore/string.h
index f1ad72665..ab111ff81 100644
--- a/zencore/include/zencore/string.h
+++ b/zencore/include/zencore/string.h
@@ -691,7 +691,7 @@ template<Integral T>
std::optional<T>
ParseInt(const std::string_view& Input)
{
- T Out = 0;
+ T Out = 0;
const std::from_chars_result Result = std::from_chars(Input.data(), Input.data() + Input.size(), Out);
if (Result.ec == std::errc::invalid_argument || Result.ec == std::errc::result_out_of_range)
{