Opened 12 years ago
Closed 12 years ago
#4190 closed Bugs (fixed)
Unqualified 'tie' in libs/graph/example/helper.hpp
Reported by: | anonymous | Owned by: | Andrew Sutton |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | graph |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: | chris@… |
Description
There is an unqualified occurrence of 'tie' in libs/graph/example/helper.cpp which prevents compiling on clang++. The following trivial patch fixes it.
Index: libs/graph/example/helper.hpp =================================================================== --- libs/graph/example/helper.hpp (revision 61786) +++ libs/graph/example/helper.hpp (working copy) @@ -24,7 +24,7 @@
Vertex v; Iterator iter; bool inserted;
- tie(iter, inserted) = vm.insert(make_pair(name, Vertex()));
+ boost::tie(iter, inserted) = vm.insert(make_pair(name, Vertex()));
if(inserted) {
The name was unique so we need to add a vertex to the graph v = add_vertex(g);
Attachments (1)
Change History (3)
by , 12 years ago
Attachment: | graph.patch added |
---|
comment:1 by , 12 years ago
Cc: | added |
---|
Apologises, attached formatted patch, and also my e-mail address.
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch