get rid of some more warnings

This commit is contained in:
Greg Landrum
2015-11-14 09:21:05 +01:00
parent b83b71aac0
commit 2a75463959
5 changed files with 7 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ using namespace RDKit;
namespace RDGeom {
unsigned int ci_GRIDPICKLE_VERSION=0x1;
UniformGrid3D::UniformGrid3D(const UniformGrid3D &other){
UniformGrid3D::UniformGrid3D(const UniformGrid3D &other) : Grid3D(other) {
PRECONDITION(other.dp_storage,"cannot copy an unintialized grid");
RDKit::DiscreteValueVect *data=new RDKit::DiscreteValueVect(*other.dp_storage);
initGrid(other.d_numX*other.d_spacing,