1
0
Fork 0

style cleanup

This commit is contained in:
Wilfried Goesgens 2017-01-05 10:09:49 +01:00
parent 431a74a962
commit 2379db10d7
1 changed files with 4 additions and 4 deletions

View File

@ -286,7 +286,7 @@ void ArangoGlobalContext::normalizePath(std::vector<std::string>& paths,
}
void ArangoGlobalContext::normalizePath(std::string& path,
const char* whichPath, bool fatal) {
char const* whichPath, bool fatal) {
StringUtils::rTrimInPlace(path, TRI_DIR_SEPARATOR_STR);
if (!arangodb::basics::FileUtils::exists(path)) {
@ -295,9 +295,9 @@ void ArangoGlobalContext::normalizePath(std::string& path,
if (!fatal) {
return;
}
LOG(ERR) << "failed to locate " << whichPath
<< " directory, its neither available in '" << path
<< "' nor in '" << directory << "'";
LOG(FATAL) << "failed to locate " << whichPath
<< " directory, its neither available in '" << path
<< "' nor in '" << directory << "'";
FATAL_ERROR_EXIT();
}
arangodb::basics::FileUtils::normalizePath(directory);