Browse Source

Avoided checking Identifier validity when constructing it from a String.

tags/2021-05-28
jules 12 years ago
parent
commit
cb359e5619
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      modules/juce_core/text/juce_Identifier.cpp

+ 0
- 3
modules/juce_core/text/juce_Identifier.cpp View File

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


Loading…
Cancel
Save