Auto-commit str.cpp

This commit is contained in:
Antonio SJ Musumeci 2026-04-15 16:59:28 -05:00
parent 3f7c09a45a
commit df7f0a0e25

View file

@ -300,6 +300,9 @@ bool
str::eq(const char *s0_,
const char *s1_) noexcept
{
if((s0_ == nullptr) || (s1_ == nullptr))
return (s0_ == s1_);
return (std::strcmp(s0_, s1_) == 0);
}