1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00

Minor code modernisations.

This commit is contained in:
Julian Storer 2010-02-03 19:05:03 +00:00
parent f3b46c9a2f
commit b2e5ef2bd6
17 changed files with 104 additions and 96 deletions

View file

@ -806,7 +806,7 @@ void XmlElement::insertChildElement (XmlElement* const newNode,
else
{
if (indexToInsertAt < 0)
indexToInsertAt = INT_MAX;
indexToInsertAt = std::numeric_limits<int>::max();
XmlElement* child = firstChildElement;