[core] fix warnings with Xcode 11's updated Clang version
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
||||
// https://developer.apple.com/documentation/foundation/nsstring/1414561-compare
|
||||
NSRange compareRange = NSMakeRange(0, nsLhs.length);
|
||||
|
||||
return [nsLhs compare:nsRhs options:options range:compareRange locale:locale];
|
||||
return static_cast<int>([nsLhs compare:nsRhs options:options range:compareRange locale:locale]);
|
||||
}
|
||||
|
||||
std::string resolvedLocale() const {
|
||||
|
||||
@@ -34,7 +34,7 @@ public:
|
||||
RenderTile(const RenderTile&) = delete;
|
||||
RenderTile(RenderTile&&) = default;
|
||||
RenderTile& operator=(const RenderTile&) = delete;
|
||||
RenderTile& operator=(RenderTile&&) = default;
|
||||
RenderTile& operator=(RenderTile&&) = delete;
|
||||
|
||||
UnwrappedTileID id;
|
||||
mat4 matrix;
|
||||
|
||||
Reference in New Issue
Block a user