* ./hurricane/src/hurricane:

- Bug: In Mask, the "!=" operator was erroneously implemented like the
        "==" operator. Making "!=" behave like "==", what a mess.
    - Bug: In BasicLayer, in constructor the _blockageLayer and _connectorLayer
        where *not* initialised, leading to erratic behavior when checked
        against NULL.
This commit is contained in:
Jean-Paul Chaput 2010-08-18 20:22:47 +00:00
parent 4426fc4f0c
commit 81cd63baf0
3 changed files with 11 additions and 10 deletions

View File

@ -184,6 +184,8 @@ namespace Hurricane {
,minimalSpacing) ,minimalSpacing)
,_material (material) ,_material (material)
,_extractNumber (extractNumber) ,_extractNumber (extractNumber)
,_connectorLayer(NULL)
,_blockageLayer (NULL)
,_realName ("<not associated>") ,_realName ("<not associated>")
{ } { }

View File

@ -43,7 +43,6 @@
#include <cmath> #include <cmath>
#include "hurricane/Commons.h" #include "hurricane/Commons.h"

View File

@ -162,7 +162,7 @@ namespace Hurricane {
template<typename IntType> template<typename IntType>
inline bool Mask<IntType>::operator != ( const Mask<IntType> mask ) const inline bool Mask<IntType>::operator != ( const Mask<IntType> mask ) const
{ return _mask == mask._mask; } { return _mask != mask._mask; }
template<typename IntType> template<typename IntType>
inline bool Mask<IntType>::operator < ( const Mask<IntType> mask ) const inline bool Mask<IntType>::operator < ( const Mask<IntType> mask ) const