[PATCH] Fix Field::makeOwnCopy() (ping)

Richard Guenther rguenth at tat.physik.uni-tuebingen.de
Mon Aug 4 19:48:58 UTC 2003


This is a ping for the fix for multi-subfield makeOwnCopy(). The patch is
obviously correct, I think.

Tested by compiling and Field on ppc-linux.

Ok?

Richard.

2003Aug04 Richard Guenther <richard.guenther at uni-tuebingen.de>

	src/Field/FieldEngine/FieldEngine.h: pass correct parent to
	makeOwnCopy.

Index: src/Field/FieldEngine/FieldEngine.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Field/FieldEngine/FieldEngine.h,v
retrieving revision 1.4
diff -u -r1.4 FieldEngine.h
--- src/Field/FieldEngine/FieldEngine.h	29 Jan 2003 19:35:38 -0000	1.4
+++ src/Field/FieldEngine/FieldEngine.h	4 Aug 2003 19:45:10 -0000
@@ -606,7 +606,7 @@
       {
         data(m, c) = model[m*stride_m + c];
         data(m, c).engine().makeOwnCopy();
-        data(m, c).relations().makeOwnCopy(s);
+        data(m, c).relations().makeOwnCopy(s.subField(m, c));
       }
     }
   }




More information about the pooma-dev mailing list