mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-20 02:47:11 +03:00
first batch of cppcheck disables and a few more stl-ifications,
involving use of accumulate() .
This commit is contained in:
@@ -200,6 +200,8 @@ public:
|
||||
|
||||
/// Are no bits set?
|
||||
bool none() const {
|
||||
// cppcheck-suppress useStlAlgorithm
|
||||
// XXX maybe do this one..
|
||||
for (const auto &e : bits) {
|
||||
if (e != 0) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user