X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fdirectorysource.cpp;h=7e1e438a2a49ab1ed87996ca87b806eb3e8dc18e;hp=e9f95fc830c9686997bc13088460c0da38847642;hb=daca21051927eabee098e422fe5a0990acacfb96;hpb=9d0291952255969770e4978a0fe9e7e4839359c8 diff --git a/source/directorysource.cpp b/source/directorysource.cpp index e9f95fc..7e1e438 100644 --- a/source/directorysource.cpp +++ b/source/directorysource.cpp @@ -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