diff -r 096d83158d41 -r 81b47fc5c444 lemon/hypercube_graph.h --- a/lemon/hypercube_graph.h Fri Mar 02 17:56:22 2007 +0000 +++ b/lemon/hypercube_graph.h Fri Mar 02 18:04:28 2007 +0000 @@ -154,7 +154,7 @@ } bool projection(Node node, int n) const { - return (bool)(node.id & (1 << n)); + return static_cast(node.id & (1 << n)); } int dimension(Edge edge) const { @@ -165,8 +165,8 @@ return node.id; } - Node operator()(int index) const { - return Node(index); + Node operator()(int ix) const { + return Node(ix); } private: @@ -236,8 +236,8 @@ /// \brief Gives back the node by its index. /// /// Gives back the node by its index. - Node operator()(int index) const { - return Parent::operator()(index); + Node operator()(int ix) const { + return Parent::operator()(ix); } /// \brief Number of nodes.