Can't compile for iOS after switching to newest development branch


#1

Hi,
I just switched to the latest develop version on github to test the new viewport feature. It works on MacOS but I can’t compile for iOS. The error is in this function:

void didCompleteWithError (NSError* nsError)
    {
        if (calledComplete.exchange (1) == 0)
        {
            httpCode = nsError != nil ? getHTTPErrorCode (nsError) ? -1;
            error = true;
            finished = true;
            if (listener != nullptr)
                listener->finished (this, ! error);
        }
        connectionEvent.signal();
    }

The ternary operator seems to be wrong. That second ‘?’ should be a ‘:’?


#2

oops! Thanks, I’ve fixed that now. (Our build server has been getting hacked around today, I guess that’s why we didn’t get an alert about it!)