mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-25 11:52:40 +01:00
Make kErrorTitle constexpr
This commit is contained in:
parent
eaf719f973
commit
ec7091b2d7
@ -35,7 +35,7 @@ int main(int argc, const char* argv[]) {
|
||||
// Catching other types (out_of_range, bad_alloc) would just make
|
||||
// debugging them more difficult.
|
||||
|
||||
const char* kErrorTitle = "Fatal Error";
|
||||
static constexpr char const* kErrorTitle = "Fatal Error";
|
||||
|
||||
logger.error("exception", ex.what());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user