Skip to content

Commit e5ad8d9

Browse files
committed
corrected generator script
1 parent eae141b commit e5ad8d9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/generator_InternalFunction.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fun <- function(i) {
99
txt <- sprintf( '
1010
1111
template <typename RESULT_TYPE%s>
12-
InternalFunction_Impl(RESULT_TYPE (*fun)(%s)) : RObject() {
12+
InternalFunction_Impl(RESULT_TYPE (*fun)(%s)) {
1313
set(XPtr<CppFunction%d<RESULT_TYPE%s> >(new CppFunction%d<RESULT_TYPE%s>(fun), false));
1414
}
1515
',
@@ -56,6 +56,3 @@ file <- sprintf(
5656

5757
stopifnot(file.exists("inst/include/Rcpp/generated/"))
5858
writeLines(file, "inst/include/Rcpp/generated/InternalFunction__ctors.h")
59-
60-
61-

0 commit comments

Comments
 (0)