Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2014-02-17 19:39:03 +0400
committerJens Verwiebe <info@jensverwiebe.de>2014-02-17 19:39:03 +0400
commitfc9215129e27d5fd96ee7159e2ff63570e4b16e8 (patch)
tree0fdb88188969c035d2dc77b46643ef94469052e5 /intern/itasc/kdl/jntarrayacc.hpp
parent209a68af39f23e61e2958a458fd280a26aa92f37 (diff)
Adapt KDL for compile with clang 3.4, which is stricter with friend classes,
fixes ‘friend declaration specifying a default argument must be a definition’, based on information from here: http://www.orocos.org/forum/rtt/rtt-dev/bug-1053-new-compile-error-clang-34-patch-attached
Diffstat (limited to 'intern/itasc/kdl/jntarrayacc.hpp')
-rw-r--r--intern/itasc/kdl/jntarrayacc.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/intern/itasc/kdl/jntarrayacc.hpp b/intern/itasc/kdl/jntarrayacc.hpp
index 275aa58f21e..fd1c26430e8 100644
--- a/intern/itasc/kdl/jntarrayacc.hpp
+++ b/intern/itasc/kdl/jntarrayacc.hpp
@@ -58,9 +58,10 @@ namespace KDL
friend void Divide(const JntArrayAcc& src,const doubleVel& factor,JntArrayAcc& dest);
friend void Divide(const JntArrayAcc& src,const doubleAcc& factor,JntArrayAcc& dest);
friend void SetToZero(JntArrayAcc& array);
- friend bool Equal(const JntArrayAcc& src1,const JntArrayAcc& src2,double eps=epsilon);
-
+ friend bool Equal(const JntArrayAcc& src1,const JntArrayAcc& src2,double eps);
};
+
+ bool Equal(const JntArrayAcc&, const JntArrayAcc&, double = epsilon);
}
#endif