]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/resources.h
Use nullptr instead of 0 for pointers
[libs/gltk.git] / source / resources.h
index ce85b972aec6ecae2003054dc7cd8fa5a29176c0..6a1c603c050766487a27995270c65d136f55ba91 100644 (file)
@@ -37,15 +37,12 @@ public:
 
 private:
        FS::Path path;
-       GL::Font *default_font;
-       DataFile::DirectorySource *dir_src;
+       GL::Font *default_font = nullptr;
+       DataFile::DirectorySource *dir_src = nullptr;
 
 public:
        Resources();
        Resources(const FS::Path &);
-private:
-       void init();
-public:
        ~Resources();
 
        const GL::Font &get_default_font() const;