mirror of
https://github.com/boostorg/graph.git
synced 2026-02-25 16:32:09 +00:00
73136fa2150c016a7a3e5475a7a95ccc6116af50
* Fix labeled_graph constructors
* Wraparound bug leads to out-of-bounds addressing.
Seems obvious that `> 0` was meant (seeing the comments).
Also, if `vertices_size_type` is unsigned - which it usually (always?) is - the loop condition was never false.
* Finally, one constructor didn't properly initialize the graph property
* Copy vertex property on add_vertex
Tested with clang on El Capitan, thanks!
Description
Mirrored via gitea-mirror
Languages
C++
98.2%
C
1.7%