diff --git a/include/ifc/reader.hxx b/include/ifc/reader.hxx index f47e7f3..8ce102b 100644 --- a/include/ifc/reader.hxx +++ b/include/ifc/reader.hxx @@ -278,8 +278,8 @@ namespace ifc { case DeclSort::Property: return std::forward(f)(index, get(index)); case DeclSort::OutputSegment: return std::forward(f)(index, get(index)); case DeclSort::SyntaxTree: return std::forward(f)(index, get(index)); - case DeclSort::Barren: return std::forward(f)(index, get(index)); + case DeclSort::Barren: // IFC has no corresponding structure as of 05/12/2022 case DeclSort::VendorExtension: case DeclSort::Count: default: