Compile fix for r36670.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36672 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-12-03 02:42:25 +00:00
parent ec1a541a6c
commit 5846e0eb7b

View File

@ -372,8 +372,8 @@ XHTMLStream & XHTMLStream::operator<<(html::EndTag const & etag)
// to close. // to close.
// is this tag itself pending? // is this tag itself pending?
// non-const iterators because we may call erase(). // non-const iterators because we may call erase().
TagDeque::iterator dit = pending_tags_.begin(); TagStack::iterator dit = pending_tags_.begin();
TagDeque::iterator const den = pending_tags_.end(); TagStack::iterator const den = pending_tags_.end();
for (; dit != den; ++dit) { for (; dit != den; ++dit) {
if (dit->tag_ == etag.tag_) { if (dit->tag_ == etag.tag_) {
// it was pending, so we just erase it // it was pending, so we just erase it