Skip to content

Commit

Permalink
light: __cplusplus match only needed for < c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
mcspr committed Dec 23, 2021
1 parent 76b1147 commit 7727d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/espurna/light.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static_assert(std::is_trivially_copyable<Light::MiredsRange>::value, "");
namespace Light {

// TODO: unless we are building with latest Core versions and -std=c++17, these need to be explicitly bound to at least one object file
#if __cplusplus <= 201703L
#if __cplusplus < 201703L
constexpr long Rgb::Min;
constexpr long Rgb::Max;

Expand Down

0 comments on commit 7727d7f

Please sign in to comment.