Skip to content

Commit

Permalink
GRAPHICS: Remove default value from MipMap constructor argument
Browse files Browse the repository at this point in the history
Fixes compilation on MSVC/AppVeyor.

A rare case where gcc let wrong code slip when MSVC caught it!
  • Loading branch information
DrMcCoy committed Aug 24, 2020
1 parent 32acddd commit 316052c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphics/images/decoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class ImageDecoder : boost::noncopyable {
const ImageDecoder *image { nullptr }; ///< The image the mip map belongs to.

MipMap() = default;
MipMap(const ImageDecoder *i = nullptr);
MipMap(const ImageDecoder *i);
MipMap(const MipMap &mipMap, const ImageDecoder *i = 0);
~MipMap() = default;

Expand Down

0 comments on commit 316052c

Please sign in to comment.