From 0dea420e688a34d90665c0abe7e973f6404b2eae Mon Sep 17 00:00:00 2001 From: Philip Salzmann Date: Tue, 25 Oct 2022 13:13:31 +0200 Subject: [PATCH] fixup! Use console reporter's totals summary for compact reporter --- src/catch2/reporters/catch_reporter_helpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/catch2/reporters/catch_reporter_helpers.cpp b/src/catch2/reporters/catch_reporter_helpers.cpp index 9d33384783..c4ed2bcd76 100644 --- a/src/catch2/reporters/catch_reporter_helpers.cpp +++ b/src/catch2/reporters/catch_reporter_helpers.cpp @@ -260,14 +260,14 @@ namespace Catch { std::string const& getSuffix() const { return m_suffix; } Colour::Code getColour() const { return m_colour; } - std::string const& getRow( size_t index ) const { + std::string const& getRow( std::size_t index ) const { return m_rows[index]; } private: std::string m_suffix; Colour::Code m_colour; - std::uint64_t m_width = 0; + std::size_t m_width = 0; std::vector m_rows; };