diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-06-20 22:49:05 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-06-20 22:49:05 +0200 |
commit | 145ea9e004c6014c790abb8d7b81f7f1547af3b9 (patch) | |
tree | f11869d7682a9e97a335b2baeba7458db6ff4473 /tests/flag_set.cc | |
parent | ca3fab4c43e155494e7eddfede551f3ced7ddad0 (diff) |
Change flag_set bool conversion to 'explicit'
Diffstat (limited to 'tests/flag_set.cc')
-rw-r--r-- | tests/flag_set.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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)); }); |