lib/fmt/RuntimeError: new library
Replacing FormatRuntimeError().
This commit is contained in:
@@ -31,12 +31,12 @@
|
||||
*/
|
||||
|
||||
#include "Error.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
#include "lib/fmt/RuntimeError.hxx"
|
||||
|
||||
void
|
||||
ODBus::Error::Throw(const char *prefix) const
|
||||
{
|
||||
throw FormatRuntimeError("%s: %s", prefix, GetMessage());
|
||||
throw FmtRuntimeError("{}: {}", prefix, GetMessage());
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user