diff -r e746fb14e680 -r 432c54cec63c lemon/concepts/maps.h --- a/lemon/concepts/maps.h Tue Aug 18 10:08:28 2009 +0200 +++ b/lemon/concepts/maps.h Thu Nov 05 08:39:49 2009 +0100 @@ -182,7 +182,8 @@ template struct Constraints { - void constraints() { + typename enable_if::type + constraints() { checkConcept, _ReferenceMap >(); ref = m[key]; m[key] = val;