Skip to content

Commit

Permalink
Undo temporary PR testing edit: ifdef -> ifndef
Browse files Browse the repository at this point in the history
  • Loading branch information
hsutter committed Jan 31, 2025
1 parent 055c968 commit 2a36dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cpp2util.h
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ constexpr bool is_escaped(std::string_view s) {
}

inline bool string_to_int(std::string const& s, int& v, int base = 10) {
#ifdef CPP2_NO_EXCEPTIONS
#ifndef CPP2_NO_EXCEPTIONS
try {
v = stoi(s, nullptr, base);
return true;
Expand Down

0 comments on commit 2a36dfa

Please sign in to comment.