diff options
| author | Martin Hořeňovský | 2021-07-27 21:45:20 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2021-07-27 21:45:27 +0200 |
| commit | 340a61af50304eb94d7a613ebb602cd7f4540b6b (patch) | |
| tree | 1510e6644d5c3a43f69d7eca43db65bbfc6303b1 /src/catch2 | |
| parent | 3d1cf95b3247e962ab7ae926b5547c64738a13d9 (diff) | |
| download | catch3-340a61af50304eb94d7a613ebb602cd7f4540b6b.tar.gz | |
Always use 'Detail' for the detail namespace
Diffstat (limited to 'src/catch2')
| -rw-r--r-- | src/catch2/catch_tostring.hpp | 6 |
1 files 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 |