]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/cgl/glcontext.cpp
Use default member initializers and defaulted default constructors
[libs/gui.git] / source / graphics / cgl / glcontext.cpp
index d05364e62e2cb3b912d2686f986da1070dc31c84..c1a3a0e7bc451224a2c54b056d8b691256dc3ed4 100644 (file)
@@ -14,7 +14,7 @@ typedef CocoaGLContext *ContextHandle;
 
 struct GLContext::Private
 {
-       ContextHandle context;
+       ContextHandle context = 0;
 };
 
 void GLContext::platform_init(const GLOptions &opts)