Commit a12147c6 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

IoNg: overwrite: allow unlink to fail

parent 822bf93b
......@@ -615,7 +615,10 @@ private:
template<typename SomeType>
void overwrite(String name, const void* ptr, hsize_t dims[], SizeType ndims)
{
hdf5file_->unlink(name);
try {
hdf5file_->unlink(name);
} catch (...) {}
internalWrite<SomeType>(name, ptr, dims, ndims);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment