Ticket #46843: patch-libcudf-src-dependency.cpp.diff

File patch-libcudf-src-dependency.cpp.diff, 558 bytes (added by irony42@…, 10 years ago)
  • libcudf/src/dependency.cpp

    old new  
    4949
    5050    struct CudfPackageRefFilter {
    5151        CudfPackageRefFilter(const Cudf::PackageRef &ref) : ref(&ref) { }
    52         bool operator()(const Entity *entity) {
     52        bool operator()(const Entity *entity) const {
    5353            switch (ref->op) {
    5454                case Cudf::PackageRef::EQ:
    5555                    return (entity->version == ref->version || entity->allVersions()) && ref->version != 0;