2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-25 16:32:09 +00:00
sehe 73136fa215 Fix labeled_graph constructors (#58)
* 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!
2016-04-23 20:08:52 -06:00
2014-08-18 14:59:33 +01:00
Description
Mirrored via gitea-mirror
32 MiB
Languages
C++ 98.2%
C 1.7%