Always use forward slashes on Windows

Windows is performing path normalization anyways.
Fixes some unit tests that expect the output to contain forward slashes.

Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
This commit is contained in:
Osyotr 2025-02-14 00:29:04 +03:00
parent 1790a4dfca
commit a7bec677f0

View file

@ -58,11 +58,7 @@ string GetDirectory(string const & name)
string::value_type GetNativeSeparator()
{
#ifdef OMIM_OS_WINDOWS
return '\\';
#else
return '/';
#endif
return '/';
}
string AddSlashIfNeeded(string const & path)