From 145ea9e004c6014c790abb8d7b81f7f1547af3b9 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Mon, 20 Jun 2016 22:49:05 +0200 Subject: Change flag_set bool conversion to 'explicit' --- tests/flag_set.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/flag_set.cc b/tests/flag_set.cc index 125d8a81..3abd505d 100644 --- a/tests/flag_set.cc +++ b/tests/flag_set.cc @@ -45,7 +45,7 @@ go_bandit([]() { // Setup fs_t fs = fs_t(); // Exercise - bool result = fs; + auto result = bool(fs); // Verify AssertThat(result, Equals(false)); }); @@ -54,7 +54,7 @@ go_bandit([]() { // Setup fs_t fs = fs_t::make(1, 3); // Exercise - bool result = fs; + auto result = bool(fs); // Verify AssertThat(result, Equals(true)); }); -- cgit v1.2.1