Skip to content

Commit

Permalink
Work around gcc10 partial c++20-isms (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul authored May 27, 2024
1 parent 1baa6ea commit e717204
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/sst/basic-blocks/concepts/concepts.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@

#include <type_traits>

static_assert(__cplusplus >= 202002L, "sst-basic-blocks requires C++20; please update your build");
// Why this form? gcc10 works but provides -std=c++2a in some cases
static_assert(__cplusplus > 201703L, "sst-basic-blocks requires C++20; please update your build");

namespace sst::basic_blocks::concepts
{
Expand Down

0 comments on commit e717204

Please sign in to comment.