Auto-commit str.cpp

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

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);
}