Skip to content

Commit

Permalink
Merge pull request #264 from qicosmos/cpp_version
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos authored Apr 30, 2024
2 parents ae5bbbe + 6049e7e commit e19953b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.15)
project(iguana)

if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++20")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17")
add_compile_options(/utf-8)
ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS)
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/bigobj>")
Expand Down
2 changes: 1 addition & 1 deletion iguana/reflection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ constexpr const std::string_view get_name() {
}

namespace detail {
#if __cplusplus < 201703L
#if __cplusplus > 201703L
template <auto ptr, auto ele>
constexpr bool get_index_imple() {
if constexpr (std::is_same_v<
Expand Down

0 comments on commit e19953b

Please sign in to comment.