Skip to content

Commit 91e6916

Browse files
committed
Include <version> before firt use of __cpp_lib_*
1 parent 8e6ac5c commit 91e6916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cpp2util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
// isn't yet supported by all of { VS 2022, g++-10, clang++-12 }
6060
// ... this should approximate "import std;" on those compilers
6161
#else
62+
#include <version>
6263
#include <concepts>
6364
#ifdef __cpp_lib_coroutine
6465
#include <coroutine>
@@ -85,7 +86,6 @@
8586
#include <typeinfo>
8687
#include <utility>
8788
#include <variant>
88-
#include <version>
8989
#include <memory>
9090
#if __has_include(<memory_resource>)
9191
#include <memory_resource>

0 commit comments

Comments
 (0)