Skip to content

Commit 7efbcdc

Browse files
committed
no assertExists in release
1 parent 78aa399 commit 7efbcdc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/lib/xml/XML.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ findGlobalNamespace()
603603
return nullptr;
604604
}
605605

606+
#ifndef NDEBUG
606607
void
607608
XMLGenerator::
608609
assertExists(
@@ -613,6 +614,7 @@ assertExists(
613614
if(it != infos_->end())
614615
assert(it->second.get() == &I);
615616
}
617+
#endif
616618

617619
llvm::StringRef
618620
XMLGenerator::

0 commit comments

Comments
 (0)