Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Rao Meng committed Sep 11, 2022
1 parent 51756c2 commit 465ee20
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 @@ -6,7 +6,7 @@ if(MSVC)
add_compile_options(/std:c++latest)
else()
add_compile_options(-Wall -O3 -std=c++17)
#add_compile_options(-Wall -Ofast -std=c++2a -flto -fno-exceptions -fno-rtti -fno-unwind-tables -fno-asynchronous-unwind-tables -DFMTLOG_NO_CHECK_LEVEL=1)
#add_compile_options(-Wall -Ofast -std=c++2a -march=skylake -flto -fno-exceptions -fno-rtti -fno-unwind-tables -fno-asynchronous-unwind-tables -DFMTLOG_NO_CHECK_LEVEL=1)
#SET(CMAKE_AR "gcc-ar")
#SET(CMAKE_RANLIB "gcc-ranlib")
link_libraries(pthread)
Expand Down
2 changes: 1 addition & 1 deletion fmtlog.h
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ class fmtlogT
struct unNamedType<fmt::detail::named_arg<char, Arg>>
{ using type = Arg; };

#if FMT_USE_NONTYPE_TEMPLATE_PARAMETERS
#if FMT_USE_NONTYPE_TEMPLATE_ARGS
template<typename Arg, size_t N, fmt::detail_exported::fixed_string<char, N> Str>
struct unNamedType<fmt::detail::statically_named_arg<Arg, char, N, Str>>
{ using type = Arg; };
Expand Down

0 comments on commit 465ee20

Please sign in to comment.