Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81218 - in trunk/boost/graph: . detail
From: jewillco_at_[hidden]
Date: 2012-11-06 08:23:04


Author: jewillco
Date: 2012-11-06 08:23:03 EST (Tue, 06 Nov 2012)
New Revision: 81218
URL: http://svn.boost.org/trac/boost/changeset/81218

Log:
Applied patch from #7648; fixes #7648
Text files modified:
   trunk/boost/graph/detail/labeled_graph_traits.hpp | 4 ++--
   trunk/boost/graph/labeled_graph.hpp | 10 +++++-----
   2 files changed, 7 insertions(+), 7 deletions(-)

Modified: trunk/boost/graph/detail/labeled_graph_traits.hpp
==============================================================================
--- trunk/boost/graph/detail/labeled_graph_traits.hpp (original)
+++ trunk/boost/graph/detail/labeled_graph_traits.hpp 2012-11-06 08:23:03 EST (Tue, 06 Nov 2012)
@@ -218,9 +218,9 @@
 #define LABELED_GRAPH_PARAMS typename G, typename L, typename S
 #define LABELED_GRAPH labeled_graph<G,L,S>
 
-// Specialize mutability traits for for the labeled graph.
+// Specialize mutability traits for the labeled graph.
 // This specialization depends on the mutability of the underlying graph type.
-// If the underlying graph is fully mutable, this this is also fully mutable.
+// If the underlying graph is fully mutable, this is also fully mutable.
 // Otherwise, it's different.
 template <LABELED_GRAPH_PARAMS>
 struct graph_mutability_traits< LABELED_GRAPH > {

Modified: trunk/boost/graph/labeled_graph.hpp
==============================================================================
--- trunk/boost/graph/labeled_graph.hpp (original)
+++ trunk/boost/graph/labeled_graph.hpp 2012-11-06 08:23:03 EST (Tue, 06 Nov 2012)
@@ -21,7 +21,7 @@
 #include <boost/graph/graph_traits.hpp>
 
 // This file implements a utility for creating mappings from arbitrary
-// identifers to the vertices of a graph.
+// identifiers to the vertices of a graph.
 
 namespace boost {
 
@@ -104,7 +104,7 @@
     // Tag dispatch on random access containers (i.e., vectors). This function
     // basically requires a) that Container is vector<Label> and that Label
     // is an unsigned integral value. Note that this will resize the vector
- // to accomodate indices.
+ // to accommodate indices.
     template <typename Container, typename Graph, typename Label, typename Prop>
     std::pair<typename graph_traits<Graph>::vertex_descriptor, bool>
     insert_labeled_vertex(Container& c, Graph& g, Label const& l, Prop const& p,
@@ -112,7 +112,7 @@
     {
         typedef typename graph_traits<Graph>::vertex_descriptor Vertex;
 
- // If the label is out of bounds, resize the vector to accomodate.
+ // If the label is out of bounds, resize the vector to accommodate.
         // Resize by 2x the index so we don't cause quadratic insertions over
         // time.
         if(l >= c.size()) {
@@ -246,7 +246,7 @@
  * vertex labels and vertex descriptors.
  *
  * @todo This class is somewhat redundant for adjacency_list<*, vecS> if
- * the intended label is an unsigned int (and perhpahs some other cases), but
+ * the intended label is an unsigned int (and perhaps some other cases), but
  * it does avoid some weird ambiguities (i.e. adding a vertex with a label that
  * does not match its target index).
  *
@@ -310,7 +310,7 @@
         _map.insert(_map.end(), rng.first, rng.second);
     }
 
- // Construct a grpah over n vertices, each of which receives a label from
+ // Construct a graph over n vertices, each of which receives a label from
     // the range [l, l + n). Note that the graph is not directly constructed
     // over the n vertices, but added sequentially. This constructor is
     // necessarily slower than the underlying counterpart.


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