Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion inst/include/Rcpp/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ namespace Rcpp{
typedef Rcpp::XPtr<Class> XP ;

CppMethod() {}
virtual SEXP operator()(Class* object, SEXP* args) { return R_NilValue ; }
virtual SEXP operator()(Class* /*object*/, SEXP* /*args*/) { return R_NilValue ; }
virtual ~CppMethod(){}
virtual int nargs(){ return 0 ; }
virtual bool is_void(){ return false ; }
Expand Down
2 changes: 1 addition & 1 deletion inst/include/Rcpp/module/Module_generated_Constructor.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Constructor_Base {
template <typename Class>
class Constructor_0 : public Constructor_Base<Class>{
public:
virtual Class* get_new( SEXP* args, int nargs ){
virtual Class* get_new( SEXP* /*args*/, int /*nargs*/ ){
return new Class() ;
}
virtual int nargs(){ return 0 ; }
Expand Down