Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorZachary Michaels2018-02-03 09:16:33 -0800
committerMartin Hořeňovský2018-02-05 10:03:51 +0100
commit4be81d3588a6d00a89302bb181c6b0de33f13065 (patch)
tree8195499cbb1c60314f39dee6d6877100e4e0cddc /include
parent5201e9256489233e96d578a932e584e6ebe6423f (diff)
downloadcatch3-4be81d3588a6d00a89302bb181c6b0de33f13065.tar.gz
Remove unnecessary semicolons
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_decomposer.h4
-rw-r--r--include/internal/catch_tostring.h4
-rw-r--r--include/reporters/catch_reporter_junit.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/include/internal/catch_decomposer.h b/include/internal/catch_decomposer.h
index 4fe15c4a..618a2509 100644
--- a/include/internal/catch_decomposer.h
+++ b/include/internal/catch_decomposer.h
@@ -82,7 +82,7 @@ namespace Catch {
// Specialised comparison functions to handle equality comparisons between ints and pointers (NULL deduces as an int)
template<typename LhsT, typename RhsT>
- auto compareEqual( LhsT const& lhs, RhsT const& rhs ) -> bool { return static_cast<bool>(lhs == rhs); };
+ auto compareEqual( LhsT const& lhs, RhsT const& rhs ) -> bool { return static_cast<bool>(lhs == rhs); }
template<typename T>
auto compareEqual( T* const& lhs, int rhs ) -> bool { return lhs == reinterpret_cast<void const*>( rhs ); }
template<typename T>
@@ -93,7 +93,7 @@ namespace Catch {
auto compareEqual( long lhs, T* const& rhs ) -> bool { return reinterpret_cast<void const*>( lhs ) == rhs; }
template<typename LhsT, typename RhsT>
- auto compareNotEqual( LhsT const& lhs, RhsT&& rhs ) -> bool { return static_cast<bool>(lhs != rhs); };
+ auto compareNotEqual( LhsT const& lhs, RhsT&& rhs ) -> bool { return static_cast<bool>(lhs != rhs); }
template<typename T>
auto compareNotEqual( T* const& lhs, int rhs ) -> bool { return lhs != reinterpret_cast<void const*>( rhs ); }
template<typename T>
diff --git a/include/internal/catch_tostring.h b/include/internal/catch_tostring.h
index 9ca5d6e8..1e644a93 100644
--- a/include/internal/catch_tostring.h
+++ b/include/internal/catch_tostring.h
@@ -63,11 +63,11 @@ namespace Catch {
template<typename T>
typename std::enable_if<!std::is_enum<T>::value, std::string>::type convertUnstreamable( T const& ) {
return Detail::unprintableString;
- };
+ }
template<typename T>
typename std::enable_if<std::is_enum<T>::value, std::string>::type convertUnstreamable( T const& value ) {
return convertUnknownEnumToString( value );
- };
+ }
} // namespace Detail
diff --git a/include/reporters/catch_reporter_junit.cpp b/include/reporters/catch_reporter_junit.cpp
index 541a18b5..d133b700 100644
--- a/include/reporters/catch_reporter_junit.cpp
+++ b/include/reporters/catch_reporter_junit.cpp
@@ -64,7 +64,7 @@ namespace Catch {
m_reporterPrefs.shouldRedirectStdOut = true;
}
- JunitReporter::~JunitReporter() {};
+ JunitReporter::~JunitReporter() {}
std::string JunitReporter::getDescription() {
return "Reports test results in an XML format that looks like Ant's junitreport target";