mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit str.cpp
This commit is contained in:
parent
3f7c09a45a
commit
df7f0a0e25
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue