File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
inst/include/Rcpp/date_datetime Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 3030#include < Rcpp/date_datetime/oldDatetimeVector.h>
3131#include < Rcpp/date_datetime/newDatetimeVector.h>
3232
33+ namespace Rcpp {
34+
35+ // for now default to the existing classes
36+ typedef oldDateVector DateVector;
37+ typedef oldDatetimeVector DatetimeVector;
38+
39+ }
40+
3341#endif
Original file line number Diff line number Diff line change 2727
2828namespace Rcpp {
2929
30- class DateVector : public GreedyVector <Date, DateVector > {
30+ class oldDateVector : public GreedyVector <Date, oldDateVector > {
3131 public:
32- DateVector (SEXP vec) : GreedyVector<Date, DateVector >(vec) {}
33- DateVector (int n) : GreedyVector<Date, DateVector >(n) {}
32+ oldDateVector (SEXP vec) : GreedyVector<Date, oldDateVector >(vec) {}
33+ oldDateVector (int n) : GreedyVector<Date, oldDateVector >(n) {}
3434
3535 inline std::vector<Date> getDates () const {
3636 return v ;
Original file line number Diff line number Diff line change 2828
2929namespace Rcpp {
3030
31- class DatetimeVector : public GreedyVector <Datetime, DatetimeVector > {
31+ class oldDatetimeVector : public GreedyVector <Datetime, oldDatetimeVector > {
3232 public:
33- DatetimeVector (SEXP vec) : GreedyVector<Datetime, DatetimeVector >(vec) {}
34- DatetimeVector (int n) : GreedyVector<Datetime, DatetimeVector >(n) {}
33+ oldDatetimeVector (SEXP vec) : GreedyVector<Datetime, oldDatetimeVector >(vec) {}
34+ oldDatetimeVector (int n) : GreedyVector<Datetime, oldDatetimeVector >(n) {}
3535
3636 std::vector<Datetime> getDatetimes () const {
3737 return v;
You can’t perform that action at this time.
0 commit comments