Ignore:
Timestamp:
Jul 5, 2016, 9:10:16 PM (3 years ago)
Author:
cameron
Message:

Some changes recommended by cppcheck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/ucd_compiler.cpp

    r5046 r5081  
    199199
    200200            // If this range is empty, just skip creating the if block
    201             if (targets.size() > 0) {
     201            if (!targets.empty()) {
    202202                builder.createIf(ifTestCompiler(range.first, range.second, builder), std::move(targets), inner_block);
    203203                for (const auto ti : intersectingTargets) {
Note: See TracChangeset for help on using the changeset viewer.