diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-12-15 20:32:58 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-12-15 20:32:58 +0000 |
| commit | ad0682ec75d072c648f044580d817bef4098abc0 (patch) | |
| tree | b281b2a93da95703cb606df0a1f489ad0469cd2f /src | |
| parent | 8047cc97d3c30b53f8b701cebad9e7b838264db7 (diff) | |
remove unused Editor::check_invariant
Diffstat (limited to 'src')
| -rw-r--r-- | src/editor.cc | 9 | ||||
| -rw-r--r-- | src/editor.hh | 5 |
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; }; |
