]> git.tdb.fi Git - libs/core.git/blobdiff - source/debug/exceptiontrace.cpp
Use nullptr instead of 0 for pointers
[libs/core.git] / source / debug / exceptiontrace.cpp
index 8ffc9c81b988667cffa12d770c1a6e97e5244ba6..7a681c35010cee85277112cc2d5b9a5d7ec5fefa 100644 (file)
@@ -20,7 +20,7 @@ struct HookThrow
 
 HookThrow::HookThrow()
 {
-       void *handle = dlopen(0, RTLD_LAZY);
+       void *handle = dlopen(nullptr, RTLD_LAZY);
        orig_cxa_throw = reinterpret_cast<CxaThrowType *>(dlvsym(handle, "__cxa_throw", "CXXABI_1.3"));
        dlclose(handle);
 }