diff -r 4a45c8808b33 -r 0977046c60d2 lemon/concepts/maps.h --- a/lemon/concepts/maps.h Sat Sep 26 07:16:22 2009 +0200 +++ b/lemon/concepts/maps.h Sat Sep 26 07:21:54 2009 +0200 @@ -182,7 +182,8 @@ template struct Constraints { - void constraints() { + typename enable_if::type + constraints() { checkConcept, _ReferenceMap >(); ref = m[key]; m[key] = val;