From cb359e5619b3f0fba3d47d304927f392d8c5d44a Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 22 Apr 2013 13:17:22 +0100 Subject: [PATCH] Avoided checking Identifier validity when constructing it from a String. --- modules/juce_core/text/juce_Identifier.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/juce_core/text/juce_Identifier.cpp b/modules/juce_core/text/juce_Identifier.cpp index 6950a7cd06..050a137426 100644 --- a/modules/juce_core/text/juce_Identifier.cpp +++ b/modules/juce_core/text/juce_Identifier.cpp @@ -48,9 +48,6 @@ Identifier& Identifier::operator= (const Identifier& other) noexcept Identifier::Identifier (const String& nm) : name (Identifier::getPool().getPooledString (nm)) { - /* An Identifier string must be suitable for use as a script variable or XML - attribute, so it can only contain this limited set of characters.. */ - jassert (isValidIdentifier (nm)); } Identifier::Identifier (const char* const nm)