Fix c++ formatting
This commit is contained in:
committed by
Moritz Kobitzsch
parent
2640a319c1
commit
24ab71a346
@@ -179,7 +179,7 @@ catch (const std::bad_alloc &e)
|
||||
util::Log(logERROR) << "Please provide more memory or consider using a larger swapfile";
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
std::cerr << "[exception] " << e.what();
|
||||
return EXIT_FAILURE;
|
||||
|
||||
@@ -167,7 +167,7 @@ catch (const std::bad_alloc &e)
|
||||
util::Log(logERROR) << "Please provide more memory or consider using a larger swapfile";
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
std::cerr << "[exception] " << e.what();
|
||||
return EXIT_FAILURE;
|
||||
|
||||
@@ -373,7 +373,7 @@ catch (const std::bad_alloc &e)
|
||||
util::Log(logWARNING) << "Please provide more memory or consider using a larger swapfile";
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
std::cerr << "[exception] " << e.what();
|
||||
return EXIT_FAILURE;
|
||||
|
||||
+1
-1
@@ -91,7 +91,7 @@ bool generateDataStoreOptions(const int argc,
|
||||
return true;
|
||||
}
|
||||
|
||||
[[ noreturn ]] void CleanupSharedBarriers(int signum)
|
||||
[[noreturn]] void CleanupSharedBarriers(int signum)
|
||||
{ // Here the lock state of named mutexes is unknown, make a hard cleanup
|
||||
osrm::storage::SharedBarriers::resetCurrentRegion();
|
||||
std::_Exit(128 + signum);
|
||||
|
||||
Reference in New Issue
Block a user