diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2014-02-17 19:39:03 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2014-02-17 19:39:03 +0400 |
commit | fc9215129e27d5fd96ee7159e2ff63570e4b16e8 (patch) | |
tree | 0fdb88188969c035d2dc77b46643ef94469052e5 /intern/itasc/kdl/jacobian.hpp | |
parent | 209a68af39f23e61e2958a458fd280a26aa92f37 (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/jacobian.hpp')
-rw-r--r-- | intern/itasc/kdl/jacobian.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/itasc/kdl/jacobian.hpp b/intern/itasc/kdl/jacobian.hpp index e9057451c9f..9708ebd37be 100644 --- a/intern/itasc/kdl/jacobian.hpp +++ b/intern/itasc/kdl/jacobian.hpp @@ -45,7 +45,7 @@ namespace KDL bool operator ==(const Jacobian& arg); bool operator !=(const Jacobian& arg); - friend bool Equal(const Jacobian& a,const Jacobian& b,double eps=epsilon); + friend bool Equal(const Jacobian& a,const Jacobian& b,double eps); ~Jacobian(); @@ -63,6 +63,7 @@ namespace KDL }; + bool Equal(const Jacobian&, const Jacobian&, double = epsilon); } #endif |