Skip to content

Commit

Permalink
Remove GCC 8 'work-around'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinH committed Sep 21, 2023
1 parent 0df8572 commit c43932a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/example/pegtl/random_order.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)

#if defined( __clang__ ) || !defined( __GNUC__ ) || ( __GNUC__ > 8 )

#include <bitset>
#include <iostream>
#include <utility>
Expand Down Expand Up @@ -109,12 +107,3 @@ int main( int argc, char** argv )
}
return 0;
}

#else // GCC 8 gives a bogus warning on the fold expressions.

int main( int /*unused*/, char** /*unused*/ )
{
return 0;
}

#endif

0 comments on commit c43932a

Please sign in to comment.