Skip to content

Commit

Permalink
-fixed standard version check
Browse files Browse the repository at this point in the history
  • Loading branch information
kamchatka-volcano committed Jan 14, 2024
1 parent 6dbfbda commit d846265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/figcone/configreader.h
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ class ConfigReader {
template<typename TCfg>
void loadStructure(TCfg& cfg)
{
#if __cplusplus < 202002L
#if (defined(_MSVC_LANG) && _MSVC_LANG < 202002L) || (!defined(_MSVC_LANG) && __cplusplus < 202002L)
static_assert(
sfun::dependent_false<TCfg>,
"Static reflection interface requires C++20. Inherit from figcone::Config to use runtime reflection "
Expand Down

0 comments on commit d846265

Please sign in to comment.