]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/cgl/glcontext.cpp
Use nullptr in place of 0 or NULL
[libs/gui.git] / source / graphics / cgl / glcontext.cpp
index c1a3a0e7bc451224a2c54b056d8b691256dc3ed4..9cddf38795cbe378961ba3f5c3f542b00b7d6e25 100644 (file)
@@ -14,7 +14,7 @@ typedef CocoaGLContext *ContextHandle;
 
 struct GLContext::Private
 {
-       ContextHandle context = 0;
+       ContextHandle context = nullptr;
 };
 
 void GLContext::platform_init(const GLOptions &opts)