Skip to content

Commit

Permalink
Turn off -Wpedantic
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Dec 21, 2024
1 parent 1f6a059 commit 28f784a
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 @@ -122,7 +122,7 @@ if(LIBASSERT_WERROR_BUILD)
set(
warning_options
${warning_options}
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Werror -Wpedantic>
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Werror>
$<$<CXX_COMPILER_ID:MSVC>:/WX>
)
endif()
Expand Down
2 changes: 1 addition & 1 deletion src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ namespace libassert::detail {
str.replace(match_begin, end - match_begin, replacement);
cursor = match_begin + replacement.length();
}
};
}

LIBASSERT_ATTR_COLD
std::string indent(const std::string_view str, size_t depth, char c, bool ignore_first) {
Expand Down

0 comments on commit 28f784a

Please sign in to comment.