Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Always use 'Detail' for the detail namespace

Commit
340a61af50304eb94d7a613ebb602cd7f4540b6b
Author
Martin Hořeňovský ·
Parents
3d1cf95b3247

Files · Download .tar.gz

Changes

 src/catch2/catch_tostring.hpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/catch2/catch_tostring.hpp b/src/catch2/catch_tostring.hpp
index 00893c46..8ea00aeb 100644
--- a/src/catch2/catch_tostring.hpp
+++ b/src/catch2/catch_tostring.hpp
@@ -475,7 +475,7 @@ namespace Catch {
     using std::begin;
     using std::end;
 
-    namespace detail {
+    namespace Detail {
         template <typename...>
         struct void_type {
             using type = void;
@@ -488,10 +488,10 @@ namespace Catch {
         template <typename T>
         struct is_range_impl<T, typename void_type<decltype(begin(std::declval<T>()))>::type> : std::true_type {
         };
-    } // namespace detail
+    } // namespace Detail
 
     template <typename T>
-    struct is_range : detail::is_range_impl<T> {
+    struct is_range : Detail::is_range_impl<T> {
     };
 
 #if defined(_MANAGED) // Managed types are never ranges