mirror of
https://github.com/XRPLF/rippled.git
synced 2026-01-27 01:55:27 +00:00
assert
This commit is contained in:
@@ -95,6 +95,12 @@ setCurrentThreadNameImpl(std::string_view name)
|
||||
std::cerr << "WARNING: Thread name \"" << name << "\" (length "
|
||||
<< name.size() << ") exceeds maximum of "
|
||||
<< maxThreadNameLength << " characters on Linux.\n";
|
||||
|
||||
XRPL_ASSERT(
|
||||
false,
|
||||
"beast::detail::setCurrentThreadNameImpl : Thread name exceeds "
|
||||
"maximum length for Linux"
|
||||
"for Linux");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user