mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
The isTagOpen() routine can be const.
This commit is contained in:
parent
313c9e0e5a
commit
29cf7af6d3
@ -418,7 +418,7 @@ XHTMLStream & XHTMLStream::operator<<(html::CR const &)
|
||||
}
|
||||
|
||||
|
||||
bool XHTMLStream::isTagOpen(string const & stag)
|
||||
bool XHTMLStream::isTagOpen(string const & stag) const
|
||||
{
|
||||
TagStack::const_iterator sit = tag_stack_.begin();
|
||||
TagStack::const_iterator const sen = tag_stack_.end();
|
||||
|
@ -144,7 +144,7 @@ private:
|
||||
///
|
||||
void clearTagDeque();
|
||||
///
|
||||
bool isTagOpen(std::string const &);
|
||||
bool isTagOpen(std::string const &) const;
|
||||
///
|
||||
void writeError(std::string const &) const;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user