COIN-OR::LEMON - Graph Library

Ignore:
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r1127 r1110  
    6767    # C4996: 'function': was declared deprecated
    6868  ELSE()
    69     SET(CXX_WARNING "-Wall")
     69    SET(CXX_WARNING "-Wall -W")
    7070  ENDIF()
    7171ENDIF()
     
    7474SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LEMON_CXX_WARNING_FLAGS}")
    7575
    76 SET( CMAKE_CXX_FLAGS_MAINTAINER "-Werror -ggdb -O0" CACHE STRING
     76SET( CMAKE_CXX_FLAGS_MAINTAINER "-Werror -ggdb" CACHE STRING
    7777    "Flags used by the C++ compiler during maintainer builds."
    7878    FORCE )
    79 SET( CMAKE_C_FLAGS_MAINTAINER "-Werror -O0" CACHE STRING
     79SET( CMAKE_C_FLAGS_MAINTAINER "-Werror" CACHE STRING
    8080    "Flags used by the C compiler during maintainer builds."
    8181    FORCE )
  • lemon/bfs.h

    r1127 r956  
    12521252      }
    12531253      _Visitor& visitor;
    1254       Constraints() {}
    12551254    };
    12561255  };
  • lemon/concepts/graph_components.h

    r1127 r956  
    116116        const _GraphItem &ia;
    117117        const _GraphItem &ib;
    118         Constraints() {}
    119118      };
    120119    };
     
    176175
    177176        const _Digraph& digraph;
    178         Constraints() {}
    179177      };
    180178    };
     
    293291
    294292        const _Graph& graph;
    295       Constraints() {}
    296293      };
    297294
     
    373370
    374371        const _Digraph& digraph;
    375         Constraints() {}
    376372      };
    377373    };
     
    426422
    427423        const _Graph& graph;
    428         Constraints() {}
    429424      };
    430425    };
     
    504499        }
    505500        const GR& g;
    506         Constraints() {}
    507501      };
    508502    };
     
    593587        const Base& node;
    594588        const GR& graph;
    595         Constraints() {}
    596589      };
    597590    };
     
    770763
    771764        const _Digraph& digraph;
    772         Constraints() {}
    773765      };
    774766    };
     
    895887
    896888        const _Graph& graph;
    897         Constraints() {}
    898889      };
    899890    };
     
    953944
    954945        const _Digraph& digraph;
    955         Constraints() {}
    956946      };
    957947    };
     
    995985
    996986        const _Graph& graph;
    997         Constraints() {}
    998987      };
    999988    };
     
    10731062        const GR &g;
    10741063        const typename GraphMap::Value &t;
    1075         Constraints() {}
    10761064      };
    10771065
     
    12121200
    12131201        const _Digraph& digraph;
    1214         Constraints() {}
    12151202      };
    12161203    };
     
    12981285
    12991286        const _Graph& graph;
    1300         Constraints() {}
    13011287      };
    13021288    };
     
    13431329
    13441330        _Digraph& digraph;
    1345         Constraints() {}
    13461331      };
    13471332    };
     
    13881373
    13891374        _Graph& graph;
    1390         Constraints() {}
    13911375      };
    13921376    };
     
    14281412
    14291413        _Digraph& digraph;
    1430         Constraints() {}
    14311414      };
    14321415    };
     
    14681451
    14691452        _Graph& graph;
    1470         Constraints() {}
    14711453      };
    14721454    };
     
    14971479
    14981480        _Digraph& digraph;
    1499         Constraints() {}
    15001481      };
    15011482    };
     
    15261507
    15271508        _Graph& graph;
    1528         Constraints() {}
    15291509      };
    15301510    };
  • lemon/concepts/heap.h

    r1127 r956  
    315315        _Heap& heap;
    316316        ItemIntMap& map;
    317         Constraints() {}
    318317      };
    319318    };
  • lemon/concepts/maps.h

    r1125 r765  
    6969        const typename _ReadMap::Key& own_key;
    7070        const _ReadMap& m;
    71         Constraints() {}
    7271      };
    7372
     
    111110        const typename _WriteMap::Value& own_val;
    112111        _WriteMap& m;
    113         Constraints() {}
    114112      };
    115113    };
     
    132130      /// Returns the value associated with the given key.
    133131      Value operator[](const Key &) const {
    134         Value *r = 0;
    135         return *r;
     132        return *static_cast<Value *>(0);
    136133      }
    137134
     
    173170      /// Returns a reference to the value associated with the given key.
    174171      Reference operator[](const Key &) {
    175         Value *r = 0;
    176         return *r;
     172        return *static_cast<Value *>(0);
    177173      }
    178174
    179175      /// Returns a const reference to the value associated with the given key.
    180176      ConstReference operator[](const Key &) const {
    181         Value *r = 0;
    182         return *r;
     177        return *static_cast<Value *>(0);
    183178      }
    184179
     
    211206        typename _ReferenceMap::ConstReference own_cref;
    212207        _ReferenceMap& m;
    213         Constraints() {}
    214208      };
    215209    };
  • lemon/concepts/path.h

    r1127 r832  
    169169        }
    170170        _Path& p;
    171         PathDumperConstraints() {}
    172171      };
    173172
     
    195194        }
    196195        _Path& p;
    197         PathDumperConstraints() {}
    198196      };
    199197
  • lemon/dfs.h

    r1127 r1110  
    11941194      }
    11951195      _Visitor& visitor;
    1196       Constraints() {}
    11971196    };
    11981197  };
Note: See TracChangeset for help on using the changeset viewer.