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 eae141b commit e5ad8d9Copy full SHA for e5ad8d9
scripts/generator_InternalFunction.R
@@ -9,7 +9,7 @@ fun <- function(i) {
9
txt <- sprintf( '
10
11
template <typename RESULT_TYPE%s>
12
- InternalFunction_Impl(RESULT_TYPE (*fun)(%s)) : RObject() {
+ InternalFunction_Impl(RESULT_TYPE (*fun)(%s)) {
13
set(XPtr<CppFunction%d<RESULT_TYPE%s> >(new CppFunction%d<RESULT_TYPE%s>(fun), false));
14
}
15
',
@@ -56,6 +56,3 @@ file <- sprintf(
56
57
stopifnot(file.exists("inst/include/Rcpp/generated/"))
58
writeLines(file, "inst/include/Rcpp/generated/InternalFunction__ctors.h")
59
-
60
61
0 commit comments