File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 2
2
//
3
3
// DateVector.h: Rcpp R/C++ interface class library -- Date vector support
4
4
//
5
- // Copyright (C) 2010 - 2013 Dirk Eddelbuettel and Romain Francois
5
+ // Copyright (C) 2010 - 2015 Dirk Eddelbuettel and Romain Francois
6
6
//
7
7
// This file is part of Rcpp.
8
8
//
@@ -29,10 +29,10 @@ namespace Rcpp {
29
29
30
30
class DateVector : public GreedyVector <Date, DateVector> {
31
31
public:
32
- DateVector (SEXP vec) : GreedyVector<Date, DateVector>(vec){}
33
- DateVector (int n) : GreedyVector<Date, DateVector>(n){}
32
+ DateVector (SEXP vec) : GreedyVector<Date, DateVector>(vec) {}
33
+ DateVector (int n) : GreedyVector<Date, DateVector>(n) {}
34
34
35
- inline std::vector<Date> getDates () const {
35
+ inline std::vector<Date> getDates () const {
36
36
return v ;
37
37
}
38
38
Original file line number Diff line number Diff line change 2
2
//
3
3
// DatetimeVector.h: Rcpp R/C++ interface class library -- Datetime vector
4
4
//
5
- // Copyright (C) 2010 - 2013 Dirk Eddelbuettel and Romain Francois
5
+ // Copyright (C) 2010 - 2015 Dirk Eddelbuettel and Romain Francois
6
6
//
7
7
// This file is part of Rcpp.
8
8
//
@@ -30,11 +30,11 @@ namespace Rcpp {
30
30
31
31
class DatetimeVector : public GreedyVector <Datetime, DatetimeVector> {
32
32
public:
33
- DatetimeVector (SEXP vec) : GreedyVector<Datetime, DatetimeVector>(vec){}
34
- DatetimeVector (int n) : GreedyVector<Datetime, DatetimeVector>(n){}
33
+ DatetimeVector (SEXP vec) : GreedyVector<Datetime, DatetimeVector>(vec) {}
34
+ DatetimeVector (int n) : GreedyVector<Datetime, DatetimeVector>(n) {}
35
35
36
- std::vector<Datetime> getDatetimes () const {
37
- return v ;
36
+ std::vector<Datetime> getDatetimes () const {
37
+ return v;
38
38
}
39
39
40
40
};
You can’t perform that action at this time.
0 commit comments