From 628aeeeef3ef63980177e682a0615ef7a519e05a Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Fri, 6 May 2011 14:52:41 +0100 Subject: [PATCH] fix-tklcaf Fix TKLCAF library (= instead of == in if-condition) Submitted upstream: http://www.opencascade.org/org/forum/thread_18622/ From: Michael Wild Signed-off-by: Michael Wild Gbp-Pq: Topic submitted Gbp-Pq: Name fix-tklcaf.patch --- ros/src/TDataXtd/TDataXtd_Constraint.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ros/src/TDataXtd/TDataXtd_Constraint.cxx b/ros/src/TDataXtd/TDataXtd_Constraint.cxx index 1f92d24a1..94b350e54 100644 --- a/ros/src/TDataXtd/TDataXtd_Constraint.cxx +++ b/ros/src/TDataXtd/TDataXtd_Constraint.cxx @@ -216,7 +216,7 @@ const Handle(TNaming_NamedShape)& TDataXtd_Constraint::GetPlane() const void TDataXtd_Constraint::SetType (const TDataXtd_ConstraintEnum CTR) { // OCC2932 correction - if(myType = CTR) return; + if(myType == CTR) return; Backup(); myType = CTR; -- 2.30.2