re-add <version> to fix clangd warnings

This commit is contained in:
Laurent Rineau 2025-11-13 09:50:21 +01:00
parent ef6f9d8c3c
commit c856e40662
2 changed files with 6 additions and 0 deletions

View File

@ -85,6 +85,9 @@
#include <sstream> #include <sstream>
#include <utility> #include <utility>
#include <vector> #include <vector>
#if __has_include(<version>)
# include <version>
#endif
#if CGAL_CXX20 && __has_include(<ranges>) #if CGAL_CXX20 && __has_include(<ranges>)
# include <ranges> # include <ranges>
#endif #endif

View File

@ -30,6 +30,9 @@
#include <string> #include <string>
#include <utility> #include <utility>
#include <vector> #include <vector>
#if __has_include(<version>)
# include <version>
#endif
#if CGAL_CXX20 && __cpp_lib_concepts >= 201806L && __cpp_lib_ranges >= 201911L #if CGAL_CXX20 && __cpp_lib_concepts >= 201806L && __cpp_lib_ranges >= 201911L
#include <ranges> #include <ranges>