summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/editor.cc9
-rw-r--r--src/editor.hh5
2 files changed, 0 insertions, 14 deletions
diff --git a/src/editor.cc b/src/editor.cc
index 3655c0b4..13b4511f 100644
--- a/src/editor.cc
+++ b/src/editor.cc
@@ -24,13 +24,4 @@ std::vector<String> Editor::selections_content() const
return contents;
}
-void Editor::check_invariant() const
-{
-#ifdef KAK_DEBUG
- kak_assert(not m_selections.empty());
- m_selections.check_invariant();
- buffer().check_invariant();
-#endif
-}
-
}
diff --git a/src/editor.hh b/src/editor.hh
index d808fe76..c425da84 100644
--- a/src/editor.hh
+++ b/src/editor.hh
@@ -31,11 +31,6 @@ public:
std::vector<String> selections_content() const;
private:
- friend struct scoped_edition;
- friend class InputModes::Insert;
-
- void check_invariant() const;
-
safe_ptr<Buffer> m_buffer;
DynamicSelectionList m_selections;
};