Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 12, 2024
1 parent 08c0272 commit 1f9b2ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitpicker.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{
"user": "p-ranav",
"repo": "argparse",
"branch": "805e2356a9af85e5863cd076e070fb5e1664761f",
"branch": "f0759fd982bb4a88785094626ea522cb3a84ec84",
"root": "include/argparse",
"file": [
"argparse.hpp"
Expand Down
2 changes: 1 addition & 1 deletion argparse.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ constexpr auto consume_hex_prefix(std::string_view s)

template <class T, auto Param>
inline auto do_from_chars(std::string_view s) -> T {
T x;
T x{0};
auto [first, last] = pointer_range(s);
auto [ptr, ec] = std::from_chars(first, last, x, Param);
if (ec == std::errc()) {
Expand Down

0 comments on commit 1f9b2ff

Please sign in to comment.