mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-24 16:15:38 +03:00
remove unused Editor::check_invariant
This commit is contained in:
parent
8047cc97d3
commit
ad0682ec75
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user