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 ebd782a commit 2c99039Copy full SHA for 2c99039
2 files changed
inst/include/Rcpp/Module.h
@@ -100,7 +100,7 @@ namespace Rcpp{
100
typedef Rcpp::XPtr<Class> XP ;
101
102
CppMethod() {}
103
- virtual SEXP operator()(Class* object, SEXP* args) { return R_NilValue ; }
+ virtual SEXP operator()(Class* /*object*/, SEXP* /*args*/) { return R_NilValue ; }
104
virtual ~CppMethod(){}
105
virtual int nargs(){ return 0 ; }
106
virtual bool is_void(){ return false ; }
inst/include/Rcpp/module/Module_generated_Constructor.h
@@ -33,7 +33,7 @@ class Constructor_Base {
33
template <typename Class>
34
class Constructor_0 : public Constructor_Base<Class>{
35
public:
36
- virtual Class* get_new( SEXP* args, int nargs ){
+ virtual Class* get_new( SEXP* /*args*/, int /*nargs*/ ){
37
return new Class() ;
38
}
39
0 commit comments