mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
Add beast_basics module
This commit is contained in:
@@ -87,7 +87,7 @@ String File::parseAbsolutePath (const String& p)
|
||||
"File::getCurrentWorkingDirectory().getChildFile (myUnknownPath)" would return an absolute
|
||||
path if that's what was supplied, or would evaluate a partial path relative to the CWD.
|
||||
*/
|
||||
jassertfalse;
|
||||
bassertfalse;
|
||||
|
||||
path = File::getCurrentWorkingDirectory().getFullPathName().substring (0, 2) + path;
|
||||
}
|
||||
@@ -101,7 +101,7 @@ String File::parseAbsolutePath (const String& p)
|
||||
"File::getCurrentWorkingDirectory().getChildFile (myUnknownPath)" would return an absolute
|
||||
path if that's what was supplied, or would evaluate a partial path relative to the CWD.
|
||||
*/
|
||||
jassertfalse;
|
||||
bassertfalse;
|
||||
|
||||
return File::getCurrentWorkingDirectory().getChildFile (path).getFullPathName();
|
||||
}
|
||||
@@ -144,7 +144,7 @@ String File::parseAbsolutePath (const String& p)
|
||||
"File::getCurrentWorkingDirectory().getChildFile (myUnknownPath)" would return an absolute
|
||||
path if that's what was supplied, or would evaluate a partial path relative to the CWD.
|
||||
*/
|
||||
jassertfalse;
|
||||
bassertfalse;
|
||||
|
||||
#if BEAST_LOG_ASSERTIONS
|
||||
Logger::writeToLog ("Illegal absolute path: " + path);
|
||||
|
||||
@@ -65,7 +65,7 @@ TemporaryFile::~TemporaryFile()
|
||||
call TemporaryFile::deleteTemporaryFile() to detect those error cases and
|
||||
handle them appropriately.
|
||||
*/
|
||||
jassertfalse;
|
||||
bassertfalse;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ bool TemporaryFile::overwriteTargetFileWithTemporary() const
|
||||
{
|
||||
// There's no temporary file to use. If your write failed, you should
|
||||
// probably check, and not bother calling this method.
|
||||
jassertfalse;
|
||||
bassertfalse;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user