From 18900a66546d511dc9d1ca2f55e1fa8352c94582 Mon Sep 17 00:00:00 2001 From: "francois.grand" <francois.grand@irstea.fr> Date: Wed, 18 Apr 2018 12:01:13 +0200 Subject: [PATCH] =?UTF-8?q?=20#46=20classe=20ParamValues=20:=20suppression?= =?UTF-8?q?=20de=20copyMembers()=20suite=20=C3=A0=20la=20suppression=20des?= =?UTF-8?q?=20m=C3=A9canismes=20de=20clonage=20dans=20ngHyg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/param/param-values.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/param/param-values.ts b/src/param/param-values.ts index 8bb1782a..3793c823 100644 --- a/src/param/param-values.ts +++ b/src/param/param-values.ts @@ -376,17 +376,4 @@ export class ParamValues { this._singleValue.value = this._iterator.next().value; return this._singleValue.value; } - - /** - * copie des membres - */ - public copyMembers(n: ParamValues) { - n._valueMode = this._valueMode; - n._singleValue = new DefinedNumber(this._singleValue.value); - n._minValue = this._minValue; - n._maxValue = this._maxValue; - n._stepValue = this._stepValue; - if (this._valueList != undefined) - n._valueList = this._valueList.slice(0); // copie - } } -- GitLab