aboutsummaryrefslogtreecommitdiff
path: root/flang-rt/lib/runtime/unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'flang-rt/lib/runtime/unit.h')
-rw-r--r--flang-rt/lib/runtime/unit.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/flang-rt/lib/runtime/unit.h b/flang-rt/lib/runtime/unit.h
index 9aec9b1..f266a48 100644
--- a/flang-rt/lib/runtime/unit.h
+++ b/flang-rt/lib/runtime/unit.h
@@ -161,9 +161,6 @@ public:
lock_.Take();
#endif
A &state{u_.emplace<A>(std::forward<X>(xs)...)};
- if constexpr (!std::is_same_v<A, OpenStatementState>) {
- state.mutableModes() = ConnectionState::modes;
- }
directAccessRecWasSet_ = false;
io_.emplace(state);
return *io_;