Skip to content

Commit 2a36dfa

Browse files
committed
Undo temporary PR testing edit: ifdef -> ifndef
1 parent 055c968 commit 2a36dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: include/cpp2util.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ constexpr bool is_escaped(std::string_view s) {
697697
}
698698

699699
inline bool string_to_int(std::string const& s, int& v, int base = 10) {
700-
#ifdef CPP2_NO_EXCEPTIONS
700+
#ifndef CPP2_NO_EXCEPTIONS
701701
try {
702702
v = stoi(s, nullptr, base);
703703
return true;

0 commit comments

Comments
 (0)