X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fpacksource.cpp;h=4a0bb15e1a34554be1ef6668537081da716c589c;hp=b2fb17abc5ae9393feabf2f223130b547a3c072e;hb=daca21051927eabee098e422fe5a0990acacfb96;hpb=9d0291952255969770e4978a0fe9e7e4839359c8 diff --git a/source/packsource.cpp b/source/packsource.cpp index b2fb17a..4a0bb15 100644 --- a/source/packsource.cpp +++ b/source/packsource.cpp @@ -51,7 +51,7 @@ void PackSource::add_pack_file(const string &fn) void PackSource::add_pack_file(const string &fn, const string &filter) { - add_pack(0, fn, filter); + add_pack(nullptr, fn, filter); } void PackSource::add_pack_io(IO::Seekable &io, const string &fn) @@ -155,7 +155,7 @@ IO::Seekable *PackSource::open(const string &fn) const if(i!=files.end()) return i->second->open().release(); - return 0; + return nullptr; }