mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-30 02:50:05 +00:00
Added a compatibility fix for older compilers
This commit is contained in:
parent
7e6a650e8c
commit
ebce454514
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ public:
|
|||
|
||||
while (text.isDigit())
|
||||
{
|
||||
if (currentCharacter == std::end (buffer) - 1)
|
||||
if (currentCharacter == &buffer[bufferSize - 1])
|
||||
return std::numeric_limits<double>::quiet_NaN();
|
||||
|
||||
int digit = (int) text.getAndAdvance() - '0';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue