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
42fc22c10a
commit
f0fe946b41
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