yourkarma / JWT

A JSON Web Token implementation in Objective-C.
MIT License
351 stars 106 forks source link

JWTDeprecations: Fix error when importing in ObjectiveC++. #225

Closed byohay closed 3 years ago

byohay commented 4 years ago

New Pull Request Checklist

Before merge, please, assure that your commits are grouped. Please, don't make several PRs with single commit, group PRs into one if possible.

This merge request fixes / refers to the following issues: ...

Pull Request Description

Xcode errs with the following message when importing the file (or any file that imports it) to an ObjectiveC++ file: Invalid suffix on literal; C++11 requires a space between literal and identifier. To solve this, a space is added before JWT_STR.