Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71166 - trunk/libs/graph/test
From: jewillco_at_[hidden]
Date: 2011-04-10 16:01:07


Author: jewillco
Date: 2011-04-10 16:01:06 EDT (Sun, 10 Apr 2011)
New Revision: 71166
URL: http://svn.boost.org/trac/boost/changeset/71166

Log:
Fixed C++0x array ambiguity
Text files modified:
   trunk/libs/graph/test/random_spanning_tree_test.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/graph/test/random_spanning_tree_test.cpp
==============================================================================
--- trunk/libs/graph/test/random_spanning_tree_test.cpp (original)
+++ trunk/libs/graph/test/random_spanning_tree_test.cpp 2011-04-10 16:01:06 EDT (Sun, 10 Apr 2011)
@@ -48,7 +48,7 @@
 
 int main(int, char**) {
 
- array<size_t, 2> sizes = {{ 5, 5 }};
+ boost::array<size_t, 2> sizes = {{ 5, 5 }};
   graph_type g(sizes);
 
   shared_array_property_map<gt::vertex_descriptor, property_map<graph_type, vertex_index_t>::const_type> pred(num_vertices(g), get(vertex_index, g));


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