Skip to content

Commit

Permalink
Screen/Memory/Buffer: remove obsolete GCC version check
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Aug 20, 2018
1 parent 71795dc commit 1f4a5e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Screen/Memory/Buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,9 @@ struct WritableImageBuffer {
return PixelTraits::At(data, pitch, x, y);
}

#if !GCC_OLDER_THAN(5,0)
constexpr const_pointer_type At(unsigned x, unsigned y) const {
return PixelTraits::At(data, pitch, x, y);
}
#endif
};

/**
Expand Down

0 comments on commit 1f4a5e8

Please sign in to comment.