diff --git a/flang/runtime/io-stmt.h b/flang/runtime/io-stmt.h --- a/flang/runtime/io-stmt.h +++ b/flang/runtime/io-stmt.h @@ -162,9 +162,8 @@ bool lastWasUndelimitedCharacter{false}; }; template <> -class ListDirectedStatementState +struct ListDirectedStatementState : public FormattedIoStatementState { -public: // Skips value separators, handles repetition and null values. // Vacant when '/' appears; present with descriptor == ListDirectedNullValue // when a null value appears.