forked from organicmaps/organicmaps
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:
parent
1790a4dfca
commit
a7bec677f0
1 changed files with 1 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue