From f13df63f382b3db6c879d890291c5b335b8a1a9a Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Mon, 22 Jan 2024 23:56:42 +0300 Subject: [PATCH] compat: fix -std=gnu++20 --- code/espurna/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/espurna/compat.h b/code/espurna/compat.h index 01e1fd4c..1f95e7e5 100644 --- a/code/espurna/compat.h +++ b/code/espurna/compat.h @@ -102,7 +102,7 @@ using std::isnan; namespace std { -#if __cplusplus < 202002L +#if !defined(__cpp_lib_remove_cvref) && (__cplusplus < 202002L) template using remove_cvref = typename std::remove_cv>::type; #endif