lemon/concept/path.h
changeset 1746 874e4bc21435
parent 1624 61cc647dac99
child 1875 98698b69a902
equal deleted inserted replaced
1:1af610529461 2:8c970553ecc2
    22 
    22 
    23 #ifndef LEMON_CONCEPT_PATH_H
    23 #ifndef LEMON_CONCEPT_PATH_H
    24 #define LEMON_CONCEPT_PATH_H
    24 #define LEMON_CONCEPT_PATH_H
    25 
    25 
    26 #include <lemon/invalid.h>
    26 #include <lemon/invalid.h>
       
    27 #include <lemon/concept_check.h>
    27 
    28 
    28 namespace lemon {
    29 namespace lemon {
    29   namespace concept {
    30   namespace concept {
    30     /// \addtogroup concept
    31     /// \addtogroup concept
    31     /// @{
    32     /// @{
    52       class NodeIt;
    53       class NodeIt;
    53       class EdgeIt;
    54       class EdgeIt;
    54 
    55 
    55       /// \param _g The graph in which the path is.
    56       /// \param _g The graph in which the path is.
    56       ///
    57       ///
    57       Path(const Graph &_g) {}
    58       Path(const Graph &_g) {
       
    59 	ignore_unused_variable_warning(_g);
       
    60       }
    58 
    61 
    59       /// Length of the path.
    62       /// Length of the path.
    60       int length() const {return 0;}
    63       int length() const {return 0;}
    61       /// Returns whether the path is empty.
    64       /// Returns whether the path is empty.
    62       bool empty() const { return true;}
    65       bool empty() const { return true;}