mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 13:40:20 +03:00
The ping is accepted.
This commit is contained in:
parent
d578b1d4ed
commit
d3c7cfd14a
1 changed files with 2 additions and 2 deletions
|
@ -53,11 +53,11 @@ version(Windows)
|
|||
|
||||
static assert(sep.length == 1 && altsep.length == 1);
|
||||
private bool isSep(dchar ch) {
|
||||
return (ch == sep[0]) | (ch == altsep[0]);
|
||||
return ch == sep[0] || ch == altsep[0];
|
||||
}
|
||||
|
||||
private bool isSepOrDriveSep(dchar ch) {
|
||||
return isSep(ch) | (ch == ':');
|
||||
return isSep(ch) || ch == ':';
|
||||
}
|
||||
}
|
||||
version(Posix)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue