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
df7f0a0e25
commit
711dbe0723
1 changed files with 3 additions and 0 deletions
|
|
@ -310,6 +310,9 @@ bool
|
|||
str::startswith(const char *s_,
|
||||
const char *p_) noexcept
|
||||
{
|
||||
if((s_ == nullptr) || (p_ == nullptr))
|
||||
return false;
|
||||
|
||||
while(*p_)
|
||||
{
|
||||
if(*p_ != *s_)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue