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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/interfaces
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-11-20 23:40:32 +0100
committerMartin Hořeňovský2021-11-23 23:16:08 +0100
commit8cb8f0b08b0ec35edd346df999f3b854ad05aa41 (patch)
treef3482554c1eea8b3389d933a31137e41203b795a /src/catch2/interfaces
parent9952f29f01ae1ab48b8c766ca70336bc3335f6e8 (diff)
downloadcatch3-8cb8f0b08b0ec35edd346df999f3b854ad05aa41.tar.gz
Sweep out some Wsign-conversion warnings
Diffstat (limited to 'src/catch2/interfaces')
-rw-r--r--src/catch2/interfaces/catch_interfaces_config.hpp2
-rw-r--r--src/catch2/interfaces/catch_interfaces_reporter.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/catch2/interfaces/catch_interfaces_config.hpp b/src/catch2/interfaces/catch_interfaces_config.hpp
index bd0c8a40..4f466b22 100644
--- a/src/catch2/interfaces/catch_interfaces_config.hpp
+++ b/src/catch2/interfaces/catch_interfaces_config.hpp
@@ -81,7 +81,7 @@ namespace Catch {
virtual Verbosity verbosity() const = 0;
virtual bool benchmarkNoAnalysis() const = 0;
- virtual int benchmarkSamples() const = 0;
+ virtual unsigned int benchmarkSamples() const = 0;
virtual double benchmarkConfidenceInterval() const = 0;
virtual unsigned int benchmarkResamples() const = 0;
virtual std::chrono::milliseconds benchmarkWarmupTime() const = 0;
diff --git a/src/catch2/interfaces/catch_interfaces_reporter.hpp b/src/catch2/interfaces/catch_interfaces_reporter.hpp
index 3a7cd32c..d6197902 100644
--- a/src/catch2/interfaces/catch_interfaces_reporter.hpp
+++ b/src/catch2/interfaces/catch_interfaces_reporter.hpp
@@ -105,7 +105,7 @@ namespace Catch {
std::string name;
double estimatedDuration;
int iterations;
- int samples;
+ unsigned int samples;
unsigned int resamples;
double clockResolution;
double clockCost;