]> git.tdb.fi Git - libs/datafile.git/commit
Return null instead of throwing if a file is not found in sources
authorMikko Rasa <tdb@tdb.fi>
Tue, 26 Mar 2013 20:15:19 +0000 (22:15 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 26 Mar 2013 20:15:19 +0000 (22:15 +0200)
commit00795982c9a99dcad69b33f75d38328165bd5df8
tree1e4dc5d17cb5e3865fd223c41885f7e275159b8b
parente3cfc75aa5be3238776caec7f1a437ece7aefa51
Return null instead of throwing if a file is not found in sources

The primary use case for open_from_sources is for creator functions to
open raw files.  This change makes it easier to gracefully skip a non-
existent file and carry on with other ways of loading the item.
source/collection.cpp