mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Change bassert to always call assert
This commit is contained in:
@@ -47,7 +47,7 @@ XmlElement::XmlElement (const String& tag) noexcept
|
||||
: tagName (tag)
|
||||
{
|
||||
// the tag name mustn't be empty, or it'll look like a text element!
|
||||
bassert (tag.containsNonWhitespaceChars())
|
||||
bassert (tag.containsNonWhitespaceChars());
|
||||
|
||||
// The tag can't contain spaces or other characters that would create invalid XML!
|
||||
bassert (! tag.containsAnyOf (" <>/&"));
|
||||
|
||||
Reference in New Issue
Block a user