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;
|
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;
|
std::vector<String> selections_content() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend struct scoped_edition;
|
|
||||||
friend class InputModes::Insert;
|
|
||||||
|
|
||||||
void check_invariant() const;
|
|
||||||
|
|
||||||
safe_ptr<Buffer> m_buffer;
|
safe_ptr<Buffer> m_buffer;
|
||||||
DynamicSelectionList m_selections;
|
DynamicSelectionList m_selections;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user