Skip to content

Commit

Permalink
use 100 instead of 20 for unknown strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahm-LANL committed Nov 25, 2024
1 parent 166ca9b commit f6c59df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports-of-call/portability.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ inline std::size_t strlen(Head h, Tail... tail) {
}
}
} else {
i = 20; // some big number to account for things like %.14e
i = 100; // some big number to account for things like %.14e
}
if constexpr (sizeof...(Tail) > 0) {
i += strlen(tail...);
Expand Down

0 comments on commit f6c59df

Please sign in to comment.