The isTagOpen() routine can be const.

This commit is contained in:
Richard Heck 2012-04-08 10:01:54 -04:00
parent 313c9e0e5a
commit 29cf7af6d3
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -144,7 +144,7 @@ private:
///
void clearTagDeque();
///
bool isTagOpen(std::string const &);
bool isTagOpen(std::string const &) const;
///
void writeError(std::string const &) const;
///