Change the IndexSet::Types type of OndDGrid and YaspGrid to std::array<GeometryType,1>.
IndexSet::Types
OndDGrid
YaspGrid
std::array<GeometryType,1>