]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/directorysource.cpp
Use nullptr instead of 0 for pointers
[libs/datafile.git] / source / directorysource.cpp
index e9f95fc830c9686997bc13088460c0da38847642..7e1e438a2a49ab1ed87996ca87b806eb3e8dc18e 100644 (file)
@@ -46,7 +46,7 @@ IO::Seekable *DirectorySource::open(const string &name) const
        if(lookup_file(name, file))
                return new IO::BufferedFile(file.str());
 
-       return 0;
+       return nullptr;
 }
 
 bool DirectorySource::lookup_file(const string &name, FS::Path &result) const