diff --git a/source/vibe/core/path.d b/source/vibe/core/path.d index 093bb3a..f2eff9c 100644 --- a/source/vibe/core/path.d +++ b/source/vibe/core/path.d @@ -1303,8 +1303,7 @@ struct WindowsPathFormat { static bool isSeparator(dchar ch) @nogc { - import std.algorithm.comparison : among; - return ch.among!('\\', '/') != 0; + return ch == '\\' || ch == '/'; } static string getAbsolutePrefix(string path)