This commit is contained in:
Sebastian Messmer 2015-04-26 11:40:27 +02:00
parent 864f0a0186
commit 9999c13ac4

View File

@ -73,7 +73,6 @@ void Data::StoreToFile(const bf::path &filepath) const {
boost::optional<Data> Data::LoadFromFile(const bf::path &filepath) {
ifstream file(filepath.c_str(), ios::binary);
if (!file.good()) {
//TODO Test this path
return boost::none;
}
size_t size = _getStreamSize(file);