Skip to content

Commit 54c7ebf

Browse files
forgot to call the function
1 parent 8748eb6 commit 54c7ebf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

inst/include/Rcpp/routines.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ namespace Rcpp {
117117
inline struct tm * gmtime_(const time_t * const x){
118118
typedef struct tm* (*Fun)(const time_t* const);
119119
static Fun fun = GET_CALLABLE("gmtime_") ;
120-
}
120+
return fun(x) ;
121+
}
121122

122123
}
123124

0 commit comments

Comments
 (0)