File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -152,18 +152,18 @@ namespace Rcpp {
152
152
* The R code in Module.R uses this information to create a C++Function
153
153
* object
154
154
*/
155
- inline SEXP get_function ( const std::string& name ){
155
+ inline SEXP get_function ( const std::string& name_ ){
156
156
MAP::iterator it = functions.begin () ;
157
157
int n = functions.size () ;
158
158
CppFunction* fun = 0 ;
159
159
for ( int i=0 ; i<n; i++, ++it){
160
- if ( name .compare ( it->first ) == 0 ){
160
+ if ( name_ .compare ( it->first ) == 0 ){
161
161
fun = it->second ;
162
162
break ;
163
163
}
164
164
}
165
165
std::string sign ;
166
- fun->signature ( sign, name .data () ) ;
166
+ fun->signature ( sign, name_ .data () ) ;
167
167
return List::create (
168
168
XPtr<CppFunction>( fun, false ),
169
169
fun->is_void (),
@@ -177,12 +177,12 @@ namespace Rcpp {
177
177
/* *
178
178
* get the underlying C++ function pointer as a DL_FUNC
179
179
*/
180
- inline DL_FUNC get_function_ptr ( const std::string& name ){
180
+ inline DL_FUNC get_function_ptr ( const std::string& name_ ){
181
181
MAP::iterator it = functions.begin () ;
182
182
int n = functions.size () ;
183
183
CppFunction* fun = 0 ;
184
184
for ( int i=0 ; i<n; i++, ++it){
185
- if ( name .compare ( it->first ) == 0 ){
185
+ if ( name_ .compare ( it->first ) == 0 ){
186
186
fun = it->second ;
187
187
break ;
188
188
}
You can’t perform that action at this time.
0 commit comments