mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -27,7 +27,7 @@ void GetNameFromFullPath(string & name)
|
||||
{
|
||||
string::size_type const i = name.find_last_of("/\\");
|
||||
if (i != string::npos)
|
||||
name = name.substr(i+1);
|
||||
name = name.substr(i + 1);
|
||||
}
|
||||
|
||||
std::string FileNameFromFullPath(std::string path)
|
||||
@@ -59,9 +59,9 @@ string GetDirectory(string const & name)
|
||||
string::value_type GetNativeSeparator()
|
||||
{
|
||||
#ifdef OMIM_OS_WINDOWS
|
||||
return '\\';
|
||||
return '\\';
|
||||
#else
|
||||
return '/';
|
||||
return '/';
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user