We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 319f60d commit 3d9e34eCopy full SHA for 3d9e34e
ChangeLog
@@ -1,3 +1,8 @@
1
+2014-08-05 Dirk Eddelbuettel <[email protected]>
2
+
3
+ * inst/include/Rcpp/Date.h: Remove a const qualifier which triggers a
4
+ warnings as 'type qualifiers ignored on function return type'
5
6
2014-08-03 Dirk Eddelbuettel <[email protected]>
7
8
* vignettes/Rcpp-FAQ.Rnw: Updated with respect to OS X installations
inst/include/Rcpp/Date.h
@@ -80,8 +80,8 @@ namespace Rcpp {
80
int getYearday() const { return m_tm.tm_yday + 1; } // makes it 1 .. 366
81
82
// 1900 as per POSIX mktime() et al
83
- static inline const unsigned int baseYear(){
84
- return 1900 ;
+ static inline unsigned int baseYear() {
+ return 1900;
85
}
86
87
// Minimal set of date operations.
0 commit comments