History

Fix new Mac warnings

Clement committed 8 years ago

Commit 8983fe21 parent 91df34242 files · +71 −57Browse files

Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 42 files). Show all

Unified · Split

libraries/render-utils/src/GeometryCache.cpp+4−1
@@ -2175,7 +2175,10 @@ public: · 2174 unmodified lines
2175 bool isAntiAliased() const { return isFlag(IS_ANTIALIASED); }2175 bool isAntiAliased() const { return isFlag(IS_ANTIALIASED); }
2176 2176
2177 Flags _flags = 0;2177 Flags _flags = 0;
2178 short _spare = 0;2178#if defined(__clang__)
2179 __attribute__((unused))
2180#endif
2181 short _spare = 0; // Padding
2179 2182
2180 int getRaw() const { return *reinterpret_cast<const int*>(this); }2183 int getRaw() const { return *reinterpret_cast<const int*>(this); }
2181 2184