diff -r c56b7389dc78 -r 9394072da54f lemon/concepts/maps.h --- a/lemon/concepts/maps.h Tue Feb 05 11:24:57 2008 +0100 +++ b/lemon/concepts/maps.h Tue Feb 12 12:37:22 2008 +0100 @@ -55,7 +55,6 @@ template struct Constraints { - void constraints() { Value val = m[key]; val = m[key]; @@ -175,10 +174,9 @@ void set(const Key &k,const Value &t) { operator[](k)=t; } template - struct ReferenceMapConcept { - + struct Constraints { void constraints() { - checkConcept(); + checkConcept, _ReferenceMap >(); m[key] = val; val = m[key]; m[key] = ref; @@ -191,10 +189,10 @@ typename _ReferenceMap::Key& own_key; typename _ReferenceMap::Value& own_val; - typename _ReferenceMap::Reference& own_ref; + typename _ReferenceMap::Reference own_ref; Key& key; Value& val; - Reference& ref; + Reference ref; _ReferenceMap& m; }; };