Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80725 - in trunk/boost/graph: . detail
From: jewillco_at_[hidden]
Date: 2012-09-27 13:43:08


Author: jewillco
Date: 2012-09-27 13:43:07 EDT (Thu, 27 Sep 2012)
New Revision: 80725
URL: http://svn.boost.org/trac/boost/changeset/80725

Log:
Applied patch from #7428; fixes #7428
Text files modified:
   trunk/boost/graph/compressed_sparse_row_graph.hpp | 2 +-
   trunk/boost/graph/detail/indexed_properties.hpp | 4 ++--
   trunk/boost/graph/detail/set_adaptor.hpp | 2 +-
   trunk/boost/graph/named_function_params.hpp | 10 +++++-----
   trunk/boost/graph/named_graph.hpp | 2 +-
   trunk/boost/graph/reverse_graph.hpp | 8 ++++----
   trunk/boost/graph/visitors.hpp | 4 ++--
   7 files changed, 16 insertions(+), 16 deletions(-)

Modified: trunk/boost/graph/compressed_sparse_row_graph.hpp
==============================================================================
--- trunk/boost/graph/compressed_sparse_row_graph.hpp (original)
+++ trunk/boost/graph/compressed_sparse_row_graph.hpp 2012-09-27 13:43:07 EDT (Thu, 27 Sep 2012)
@@ -136,7 +136,7 @@
     typedef boost::iterator_facade<default_construct_iterator<T>, T, std::random_access_iterator_tag, const T&> base_type;
     T saved_value;
     const T& dereference() const {return saved_value;}
- bool equal(default_construct_iterator i) const {return true;}
+ bool equal(default_construct_iterator /*i*/) const {return true;}
     void increment() {}
     void decrement() {}
     void advance(typename base_type::difference_type) {}

Modified: trunk/boost/graph/detail/indexed_properties.hpp
==============================================================================
--- trunk/boost/graph/detail/indexed_properties.hpp (original)
+++ trunk/boost/graph/detail/indexed_properties.hpp 2012-09-27 13:43:07 EDT (Thu, 27 Sep 2012)
@@ -253,7 +253,7 @@
   typedef secret const_edge_map_type;
 
   secret operator[](secret) { return secret(); }
- void write_by_index(std::size_t idx, const no_property& prop) {}
+ void write_by_index(std::size_t /*idx*/, const no_property& /*prop*/) {}
 
   edge_map_type get_edge_bundle(const IndexMap& = IndexMap()) const {
     return edge_map_type();
@@ -270,7 +270,7 @@
 
  public:
   void push_back(const edge_push_back_type&) { }
- void move_range(std::size_t src_begin, std::size_t src_end, std::size_t dest_begin) {}
+ void move_range(std::size_t /*src_begin*/, std::size_t /*src_end*/, std::size_t /*dest_begin*/) {}
 
   typedef dummy_no_property_iterator iterator;
   iterator begin() {return dummy_no_property_iterator();}

Modified: trunk/boost/graph/detail/set_adaptor.hpp
==============================================================================
--- trunk/boost/graph/detail/set_adaptor.hpp (original)
+++ trunk/boost/graph/detail/set_adaptor.hpp 2012-09-27 13:43:07 EDT (Thu, 27 Sep 2012)
@@ -111,7 +111,7 @@
     // Shit, can't implement this without knowing the size of the
     // universe.
     template <class K, class C, class A>
- void set_compliment(const std::set<K,C,A>& x,
+ void set_compliment(const std::set<K,C,A>& /*x*/,
                         std::set<K,C,A>& z)
     {
       z.clear();

Modified: trunk/boost/graph/named_function_params.hpp
==============================================================================
--- trunk/boost/graph/named_function_params.hpp (original)
+++ trunk/boost/graph/named_function_params.hpp 2012-09-27 13:43:07 EDT (Thu, 27 Sep 2012)
@@ -432,13 +432,13 @@
     template <typename ArgType, typename Prop, typename Graph, bool Exists>
     struct override_property_t {
       typedef ArgType result_type;
- result_type operator()(const Graph& g, const typename boost::add_reference<ArgType>::type a) const {return a;}
+ result_type operator()(const Graph&, const typename boost::add_reference<ArgType>::type a) const {return a;}
     };
 
     template <typename ArgType, typename Prop, typename Graph>
     struct override_property_t<ArgType, Prop, Graph, false> {
       typedef typename boost::property_map<Graph, Prop>::type result_type;
- result_type operator()(const Graph& g, const ArgType& a) const {return get(Prop(), g);}
+ result_type operator()(const Graph& g, const ArgType&) const {return get(Prop(), g);}
     };
 
     template <typename ArgPack, typename Tag, typename Prop, typename Graph>
@@ -455,7 +455,7 @@
 
     template <typename ArgPack, typename Tag, typename Prop, typename Graph>
     typename override_property_result<ArgPack, Tag, Prop, Graph>::type
- override_property(const ArgPack& ap, const boost::parameter::keyword<Tag>& t, const Graph& g, Prop prop) {
+ override_property(const ArgPack& ap, const boost::parameter::keyword<Tag>& t, const Graph& g, Prop) {
     return override_property_t<
              typename boost::parameter::value_type<ArgPack, Tag, int>::type,
              Prop,
@@ -633,7 +633,7 @@
       typedef Q priority_queue_type;
 
       static priority_queue_type
- make_queue(const Graph& g, const ArgPack& ap, KeyT defaultKey, const Q& q) {
+ make_queue(const Graph&, const ArgPack&, KeyT, const Q& q) {
         return q;
       }
     };
@@ -645,7 +645,7 @@
       typedef boost::d_ary_heap_indirect<ValueT, 4, index_in_heap_map, typename map_maker<Graph, ArgPack, KeyMapTag, KeyT>::helper::map_type, Compare> priority_queue_type;
 
       static priority_queue_type
- make_queue(const Graph& g, const ArgPack& ap, KeyT defaultKey, const Q& q) {
+ make_queue(const Graph& g, const ArgPack& ap, KeyT defaultKey, const Q&) {
         return priority_queue_type(
             map_maker<Graph, ArgPack, KeyMapTag, KeyT>::make_map(g, ap, defaultKey),
             map_maker<Graph, ArgPack, IndexInHeapMapTag, default_index_in_heap_type>::make_map(g, ap, typename boost::property_traits<index_in_heap_map>::value_type(-1))

Modified: trunk/boost/graph/named_graph.hpp
==============================================================================
--- trunk/boost/graph/named_graph.hpp (original)
+++ trunk/boost/graph/named_graph.hpp 2012-09-27 13:43:07 EDT (Thu, 27 Sep 2012)
@@ -105,7 +105,7 @@
   typedef vertex_name_type argument_type;
   typedef VertexProperty result_type;
 
- VertexProperty operator()(const vertex_name_type& name)
+ VertexProperty operator()(const vertex_name_type&)
   {
       boost::throw_exception(std::runtime_error("add_vertex: "
                                                 "unable to create a vertex from its name"));

Modified: trunk/boost/graph/reverse_graph.hpp
==============================================================================
--- trunk/boost/graph/reverse_graph.hpp (original)
+++ trunk/boost/graph/reverse_graph.hpp 2012-09-27 13:43:07 EDT (Thu, 27 Sep 2012)
@@ -460,7 +460,7 @@
 typename enable_if<is_reverse_graph<G>,
   detail::underlying_edge_desc_map_type<typename graph_traits<typename G::base_type>::edge_descriptor> >::type
 get(edge_underlying_t,
- G& g)
+ G&)
 {
   return detail::underlying_edge_desc_map_type<typename graph_traits<typename G::base_type>::edge_descriptor>();
 }
@@ -468,7 +468,7 @@
 template <class G>
 typename enable_if<is_reverse_graph<G>, typename graph_traits<typename G::base_type>::edge_descriptor>::type
 get(edge_underlying_t,
- G& g,
+ G&,
     const typename graph_traits<G>::edge_descriptor& k)
 {
   return k.underlying_descx;
@@ -477,7 +477,7 @@
 template <class G>
 typename enable_if<is_reverse_graph<G>, detail::underlying_edge_desc_map_type<typename graph_traits<typename G::base_type>::edge_descriptor> >::type
 get(edge_underlying_t,
- const G& g)
+ const G&)
 {
   return detail::underlying_edge_desc_map_type<typename graph_traits<typename G::base_type>::edge_descriptor>();
 }
@@ -485,7 +485,7 @@
 template <class G>
 typename enable_if<is_reverse_graph<G>, typename graph_traits<typename G::base_type>::edge_descriptor>::type
 get(edge_underlying_t,
- const G& g,
+ const G&,
     const typename graph_traits<G>::edge_descriptor& k)
 {
   return k.underlying_descx;

Modified: trunk/boost/graph/visitors.hpp
==============================================================================
--- trunk/boost/graph/visitors.hpp (original)
+++ trunk/boost/graph/visitors.hpp 2012-09-27 13:43:07 EDT (Thu, 27 Sep 2012)
@@ -270,7 +270,7 @@
     {}
 
     template <typename VertexOrEdge, typename Graph>
- void operator() (VertexOrEdge v, const Graph& g)
+ void operator() (VertexOrEdge v, const Graph&)
     {
       put (property_map_, v, value_);
     }
@@ -293,7 +293,7 @@
     inline property_put <PropertyMap, EventTag>
     put_property (PropertyMap property_map,
                   typename property_traits <PropertyMap>::value_type value,
- EventTag tag)
+ EventTag)
     {
       return property_put <PropertyMap, EventTag> (property_map, value);
     }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk