TODOs
This commit is contained in:
parent
864f0a0186
commit
9999c13ac4
@ -73,7 +73,6 @@ void Data::StoreToFile(const bf::path &filepath) const {
|
|||||||
boost::optional<Data> Data::LoadFromFile(const bf::path &filepath) {
|
boost::optional<Data> Data::LoadFromFile(const bf::path &filepath) {
|
||||||
ifstream file(filepath.c_str(), ios::binary);
|
ifstream file(filepath.c_str(), ios::binary);
|
||||||
if (!file.good()) {
|
if (!file.good()) {
|
||||||
//TODO Test this path
|
|
||||||
return boost::none;
|
return boost::none;
|
||||||
}
|
}
|
||||||
size_t size = _getStreamSize(file);
|
size_t size = _getStreamSize(file);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user