REQUIRE_THROWS_AS now catches exception by const&

Prevents some warnings caused by catching complex types by value.

Closes #542
This commit is contained in:
Martin Hořeňovský
2017-02-09 12:57:01 +01:00
parent 9952dda524
commit 73159ace3d
4 changed files with 68 additions and 1 deletions

View File

@@ -195,6 +195,7 @@ set(INTERNAL_HEADERS
${HEADER_DIR}/internal/catch_tostring.h
${HEADER_DIR}/internal/catch_tostring.hpp
${HEADER_DIR}/internal/catch_totals.hpp
${HEADER_DIR}/internal/catch_type_traits.hpp
${HEADER_DIR}/internal/catch_version.h
${HEADER_DIR}/internal/catch_version.hpp
${HEADER_DIR}/internal/catch_wildcard_pattern.hpp