2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-11 11:52:12 +00:00

fixed LvaluePropertyGraphConcept

[SVN r10136]
This commit is contained in:
Jeremy Siek
2001-05-18 22:43:33 +00:00
parent 2466d4a818
commit 4e539c158a

View File

@@ -395,15 +395,14 @@ namespace boost {
struct LvaluePropertyGraphConcept
{
typedef typename property_map<G, Property>::type Map;
typedef typename property_map<G, Property>::const_type const_Map;
void constraints() {
function_requires< ReadablePropertyGraphConcept<G, X, Property> >();
function_requires< LvaluePropertyMapConcept<Map, X> >();
function_requires< LvaluePropertyMapConcept<const_Map, X> >();
function_requires< Mutable_LvaluePropertyMapConcept<Map, X> >();
Map pmap = get(Property(), g);
pval = get(Property(), g, x);
put(Property(), g, x, pval);
ignore_unused_variable_warning(pmap);
}
G g;
X x;