]> git.tdb.fi Git - libs/datafile.git/commit
Throw an exception if trying to load a nonexistent file
authorMikko Rasa <tdb@tdb.fi>
Wed, 21 Aug 2019 22:06:52 +0000 (01:06 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 21 Aug 2019 22:06:52 +0000 (01:06 +0300)
commit42752616c307bfb5a25fda5dae38c5e3d2f21694
treeda2bba1778902909056e6cc3c194c8d3b066f591
parent2eeb5a5ac9508e41e6451590d20f1688cf490002
Throw an exception if trying to load a nonexistent file

Collection::open_raw returns a null pointer in this case so it must be
checked.
source/loader.h