Skip to content

Commit e693b89

Browse files
committed
Remove unsigned 0 comparison
1 parent 5b6e82f commit e693b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/engine/datafacade_factory.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ template <template <typename A> class FacadeT, typename AlgorithmT> class DataFa
7070
"The exclude prefix needs to be a valid data path.");
7171
std::size_t index =
7272
std::stoi(exclude_prefix.substr(index_begin + 1, exclude_prefix.size()));
73-
BOOST_ASSERT(index >= 0 && index < facades.size());
73+
BOOST_ASSERT(index < facades.size());
7474
facades[index] = std::make_shared<const Facade>(allocator, metric_name, index);
7575
}
7676

0 commit comments

Comments
 (0)