[Lme4-commits] r1642 - pkg/lme4Eigen/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Mar 6 23:23:53 CET 2012


Author: dmbates
Date: 2012-03-06 23:23:52 +0100 (Tue, 06 Mar 2012)
New Revision: 1642

Modified:
   pkg/lme4Eigen/src/glmFamily.h
Log:
Add virtual destructors to abstract classes.  clang++ complains otherwise.


Modified: pkg/lme4Eigen/src/glmFamily.h
===================================================================
--- pkg/lme4Eigen/src/glmFamily.h	2012-03-03 15:51:55 UTC (rev 1641)
+++ pkg/lme4Eigen/src/glmFamily.h	2012-03-06 22:23:52 UTC (rev 1642)
@@ -21,6 +21,7 @@
 	Rcpp::Environment d_rho;
     public:
 	glmDist(Rcpp::List&);
+	virtual ~glmDist() {}
 
 	virtual const ArrayXd variance(const ArrayXd&) const;
 	virtual const ArrayXd devResid(const ArrayXd&, const ArrayXd&, const ArrayXd&) const;
@@ -96,6 +97,7 @@
 	Rcpp::Environment d_rho;
     public:
 	glmLink(Rcpp::List&);
+	virtual ~glmLink() {}
 
 	virtual const ArrayXd linkFun(const ArrayXd&) const;
 	virtual const ArrayXd linkInv(const ArrayXd&) const;



More information about the Lme4-commits mailing list