Browse Source

MSVC 2015 compatibility: what I'm doing wrong?

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
d8ce08dd64
  1. 5
      src/Magnum/PixelStorage.h

5
src/Magnum/PixelStorage.h

@ -270,7 +270,10 @@ class MAGNUM_EXPORT CompressedPixelStorage: public PixelStorage {
* Sets all parameters to default values, i.e. all values set to
* `false`/`0` except for alignment, which is `4`.
*/
constexpr /*implicit*/ CompressedPixelStorage() noexcept: _blockSize{0}, _blockDataSize{0} {}
#ifndef CORRADE_MSVC2015_COMPATIBILITY /* What am I doing wrong? */
constexpr
#endif
/*implicit*/ CompressedPixelStorage() noexcept: _blockSize{0}, _blockDataSize{0} {}
/** @brief Compressed block size */
constexpr Vector3i compressedBlockSize() const { return _blockSize; }

Loading…
Cancel
Save