Fix ITASK warnings

This commit is contained in:
Jens Verwiebe
2012-11-07 11:57:51 +00:00
parent fff3f95768
commit d7fe02936b
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ namespace KDL {
*/
class Chain {
private:
#if !defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4
#if !defined(__APPLE__)
// Eigen allocator is needed for alignment of Eigen data types
std::vector<Segment, Eigen::aligned_allocator<Segment> > segments;
#else

View File

@@ -27,7 +27,7 @@
#include <string>
#include <map>
#if !defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4
#if !defined(__APPLE__)
#include <Eigen/Core>
#endif
@@ -35,7 +35,7 @@ namespace KDL
{
//Forward declaration
class TreeElement;
#if !defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4
#if !defined(__APPLE__)
// Eigen allocator is needed for alignment of Eigen data types
typedef std::map<std::string,TreeElement, std::less<std::string>, Eigen::aligned_allocator<std::pair<std::string, TreeElement> > > SegmentMap;
#else