Skip to content

Commit

Permalink
assert C++17 or better in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Dreik committed Jan 12, 2025
1 parent ab28cdb commit 3058a5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rdfind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

#include "config.h" //header file from autoconf

static_assert(__cplusplus >= 201703L,
"this code requires a C++17 capable compiler!");

// std
#include <algorithm>
#include <iostream>
Expand Down

0 comments on commit 3058a5f

Please sign in to comment.