File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1+ 2014-01-16 JJ Allaiare <jj@rstudio.org>
2+
3+ * inst/include/Rcpp/DateVector.h: Fix GreedyVector compilation error
4+ * inst/include/Rcpp/DatetimeVector.h: Fix GreedyVector compilation error
5+
162014-01-15 Dirk Eddelbuettel <edd@debian.org>
27
38 * inst/include/Rcpp/exceptions.h: Move stop() into Rcpp namespace
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ namespace Rcpp {
2929
3030 class DateVector : public GreedyVector <Date, DateVector> {
3131 public:
32- DateVector (SEXP vec) : GreedyVector(vec){}
33- DateVector (int n) : GreedyVector(n){}
32+ DateVector (SEXP vec) : GreedyVector<Date, DateVector> (vec){}
33+ DateVector (int n) : GreedyVector<Date, DateVector> (n){}
3434
3535 inline std::vector<Date> getDates () const {
3636 return v ;
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ namespace Rcpp {
3030
3131 class DatetimeVector : public GreedyVector <Datetime, DatetimeVector> {
3232 public:
33- DatetimeVector (SEXP vec) : GreedyVector(vec){}
34- DatetimeVector (int n) : GreedyVector(n){}
33+ DatetimeVector (SEXP vec) : GreedyVector<Datetime, DatetimeVector> (vec){}
34+ DatetimeVector (int n) : GreedyVector<Datetime, DatetimeVector> (n){}
3535
3636 std::vector<Datetime> getDatetimes () const {
3737 return v ;
You can’t perform that action at this time.
0 commit comments