This needs to be 1, for now, since all our libraries are still in
format 1.
This was wrong since it was introduced in
materials format: Plumb through to load_catalogue
but hasn't mattered because nothing in the shapelib code actually
looks at the format yet.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
#[throws(materials_format::VersionError)]
fn default_materials_format(&self) -> materials_format::Version {
- materials_format::Version::CURRENT
- //throw!(MFVE::Other("builtin libraries must have explicit version now!"));
+ 1.try_into().unwrap() // TODO
}
}