diff --git a/modules/info/pymod/wrap_info.cc b/modules/info/pymod/wrap_info.cc index 14eeffb63606efd04b1d17bea4e608e0ca1aa6ba..4af9741d63430f0964b415d83410641ab9d54762 100644 --- a/modules/info/pymod/wrap_info.cc +++ b/modules/info/pymod/wrap_info.cc @@ -92,7 +92,7 @@ void info_handle_apply2b(InfoHandle* h, InfoConstVisitor& v, bool b) h->Apply(v,b); } -void info_handle_remove1(InfoHandle* h, InfoPath& path ) +void info_handle_remove1(InfoHandle* h, const String& path ) { h->Remove(path); } @@ -101,7 +101,7 @@ void info_handle_remove2(InfoHandle* h, InfoGroup& group ) { h->Remove(group); } -void info_handle_remove3(InfoHandle* h, InfoPath& path, bool use_defaults ) +void info_handle_remove3(InfoHandle* h, const String& path, bool use_defaults ) { h->Remove(path,use_defaults); }