aboutsummaryrefslogtreecommitdiff
path: root/tests/validation_new/Validation.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validation_new/Validation.h')
-rw-r--r--tests/validation_new/Validation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/validation_new/Validation.h b/tests/validation_new/Validation.h
index 2892fb3e42..d3c3541982 100644
--- a/tests/validation_new/Validation.h
+++ b/tests/validation_new/Validation.h
@@ -232,7 +232,7 @@ struct compare<AbsoluteTolerance<U>, U> : public compare_base<AbsoluteTolerance<
{
using compare_base<AbsoluteTolerance<U>>::compare_base;
- operator bool()
+ operator bool() const
{
if(!std::isfinite(this->_target) || !std::isfinite(this->_reference))
{
@@ -252,7 +252,7 @@ struct compare<RelativeTolerance, U> : public compare_base<RelativeTolerance>
{
using compare_base<RelativeTolerance>::compare_base;
- operator bool()
+ operator bool() const
{
if(!std::isfinite(_target) || !std::isfinite(_reference))
{