COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
04/18/05 16:59:24 (16 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1812
Message:

More steps toward gcc-3.4 compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/concept/graph_component.h

    r1359 r1367  
    305305      /// If the graph does not contain node with the given id
    306306      /// then the result of the function is undetermined.
    307       Node fromId(int id, Node) const { return INVALID;}
     307      Node fromId(int , Node) const { return INVALID;}
    308308
    309309      /// \brief Gives back an unique integer id for the Edge.
     
    318318      /// If the graph does not contain edge with the given id
    319319      /// then the result of the function is undetermined.
    320       Edge fromId(int id, Edge) const { return INVALID;}
     320      Edge fromId(int, Edge) const { return INVALID;}
    321321
    322322      template <typename _Graph>
     
    399399      /// Adds a new Edge connects the two Nodes to the graph.
    400400      ///
    401       Edge addEdge(const Node& from, const Node& to) {
     401      Edge addEdge(const Node&, const Node&) {
    402402        return INVALID;
    403403      }
     
    746746      ///
    747747      /// Copy Constructor.
    748       GraphMap(const GraphMap&) {}
     748      GraphMap(const GraphMap& gm) :ReadWriteMap<Item, _Value>(gm) {}
    749749     
    750750      /// \brief Assign operator.
     
    810810        ///
    811811        /// Copy Constructor.
    812         NodeMap(const NodeMap&) {}
     812        NodeMap(const NodeMap& nm) : GraphMap<Graph, Node, _Value>(nm) {}
    813813
    814814        /// \brief Assign operator.
     
    840840        ///
    841841        /// Copy Constructor.
    842         EdgeMap(const EdgeMap&) {}
     842        EdgeMap(const EdgeMap& em) :GraphMap<Graph, Edge, _Value>(em) {}
    843843
    844844        /// \brief Assign operator.
     
    918918      ///
    919919      /// Add an edge to the graph and notify the observers.
    920       Edge addEdge(const Node& from, const Node& to) {
     920      Edge addEdge(const Node&, const Node&) {
    921921        return INVALID;
    922922      }
Note: See TracChangeset for help on using the changeset viewer.