mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
remove no-op macros and dead code (pt 4) (#8037)
* remove no-op macros and dead code (pt 4) * review comments
This commit is contained in:
@@ -272,18 +272,6 @@ DiscreteValueVect &DiscreteValueVect::operator-=(
|
||||
return *this;
|
||||
}
|
||||
|
||||
#if 0
|
||||
DiscreteValueVect DiscreteValueVect::operator~() const {
|
||||
DiscreteValueVect ans(d_type,d_length);
|
||||
unsigned int maxVal = (1<<d_bitsPerVal) - 1;
|
||||
for(unsigned int i=0;i<d_length;++i){
|
||||
unsigned int v1=getVal(i);
|
||||
ans.setVal(i,maxVal-v1);
|
||||
}
|
||||
return(ans);
|
||||
};
|
||||
#endif
|
||||
|
||||
DiscreteValueVect operator+(const DiscreteValueVect &p1,
|
||||
const DiscreteValueVect &p2) {
|
||||
DiscreteValueVect res(p1);
|
||||
|
||||
Reference in New Issue
Block a user