src/work/deba/map_defines.h
changeset 783 81bf2d766164
parent 703 32f280a5ed7d
     1.1 --- a/src/work/deba/map_defines.h	Thu Sep 02 10:07:30 2004 +0000
     1.2 +++ b/src/work/deba/map_defines.h	Thu Sep 02 10:54:26 2004 +0000
     1.3 @@ -61,7 +61,7 @@
     1.4    return *this; \
     1.5  } \
     1.6  template <typename CMap>NodeMap& operator=(const CMap& copy) { \
     1.7 -  this->Factory::Map<V>::operator=<CMap>(copy); \
     1.8 +  this->Factory::Map<V>::operator=<CMap>(static_cast<Factory::Map<V>&>(copy));\
     1.9    return *this; \
    1.10  } \
    1.11  };
    1.12 @@ -87,7 +87,7 @@
    1.13    return *this; \
    1.14  } \
    1.15  template <typename CMap>EdgeMap& operator=(const CMap& copy) { \
    1.16 -  this->Factory::Map<V>::operator=<CMap>(copy); \
    1.17 +  this->Factory::Map<V>::operator=<CMap>(static_cast<Factory::Map<V>&>(copy));\
    1.18    return *this; \
    1.19  } \
    1.20  };