]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/partcache.h
Use nullptr instead of 0 for pointers
[libs/gltk.git] / source / partcache.h
index af697339efcfa0ed5e46cb998235e0c156ac13c0..137bce4c37539a8c032f27b36cff0c35afc89f58 100644 (file)
@@ -12,9 +12,9 @@ class Part;
 
 struct CachedPart
 {
-       const Part *part = 0;
-       const GL::Texture2D *texture = 0;
-       GL::Mesh *mesh = 0;
+       const Part *part = nullptr;
+       const GL::Texture2D *texture = nullptr;
+       GL::Mesh *mesh = nullptr;
 
        ~CachedPart();
 };