From fb906bb58cf1fd7bfd08e6da9587b5e5b60f0466 Mon Sep 17 00:00:00 2001 From: andreas <andreas@5a81b35b-ba03-0410-adc8-b2c5c5119f08> Date: Wed, 28 Jul 2010 17:05:52 +0000 Subject: [PATCH] changed InfoGroup wrapper to allow string as InfoPath for Remove git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2599 5a81b35b-ba03-0410-adc8-b2c5c5119f08 --- 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 a44909532..23659e918 100644 --- a/modules/info/pymod/wrap_info.cc +++ b/modules/info/pymod/wrap_info.cc @@ -63,7 +63,7 @@ void info_group_apply2b(InfoGroup* g, InfoConstVisitor& v, bool b) g->Apply(v,b); } -void info_group_remove1(InfoGroup* g, InfoPath& path ) +void info_group_remove1(InfoGroup* g, const String& path ) { g->Remove(path); } @@ -72,7 +72,7 @@ void info_group_remove2(InfoGroup* g, InfoGroup& group ) { g->Remove(group); } -void info_group_remove3(InfoGroup* g, InfoPath& path, bool use_defaults ) +void info_group_remove3(InfoGroup* g, const String& path, bool use_defaults ) { g->Remove(path,use_defaults); } -- GitLab