1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-28 09:07:19 +03:00

remove unused Editor::check_invariant

This commit is contained in:
Maxime Coste 2013-12-15 20:32:58 +00:00
parent 8047cc97d3
commit ad0682ec75
2 changed files with 0 additions and 14 deletions

View File

@ -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
}
}

View File

@ -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;
};