From ac8603b28ab48b1ad173f9d5fbd54d0d822cca02 Mon Sep 17 00:00:00 2001 From: Andreas Schenk <andreas_schenk@hms.harvard.edu> Date: Thu, 16 Feb 2012 18:52:01 -0500 Subject: [PATCH] changed wrapper for InfoHandle::Remove to accept strings --- modules/info/pymod/wrap_info.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/info/pymod/wrap_info.cc b/modules/info/pymod/wrap_info.cc index 14eeffb63..4af9741d6 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); } -- GitLab