1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-10-06 09:07:19 +02:00

Make kErrorTitle constexpr

This commit is contained in:
Filip Gawin 2018-12-28 16:22:01 +01:00
parent eaf719f973
commit ec7091b2d7

View File

@ -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());