Changes in / [2e63915:8893ad4]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CandidateFinder.cpp

    r2e63915 r8893ad4  
    12251225
    12261226                        // return casts are eliminated (merely selecting an overload, no actual operation)
    1227                         candidates = std::move(finder.candidates);
     1227                        for (auto & cand : finder.candidates) {
     1228                                if (typesCompatibleIgnoreQualifiers(toType, cand->expr->result, cand->env)) {
     1229                                        candidates.push_back (cand);
     1230                                }
     1231                        }
     1232                        // candidates = std::move(finder.candidates);
    12281233                        return;
    12291234                }
Note: See TracChangeset for help on using the changeset viewer.