reverse_view is not widely available yet.

This commit is contained in:
paxcut
2026-03-15 00:55:50 -07:00
committed by paxcut
parent 1670607e38
commit f9343c8e94

View File

@@ -962,7 +962,7 @@ namespace hex::ui {
}
void TextEditor::UndoAction::undo(TextEditor *editor) {
for (auto &record : std::ranges::reverse_view(m_records))
for (auto &record : m_records | std::views::reverse)
record.undo(editor);
}