Skip to content

Commit

Permalink
Merge pull request RobotLocomotion#23 from tkoolen/tk-fix-win32
Browse files Browse the repository at this point in the history
Fix allocator (need const pointer to const).
  • Loading branch information
RussTedrake committed Oct 10, 2015
2 parents 6ba9a21 + d16a478 commit 08eef3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drake/systems/plants/KinematicsCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ template <typename Scalar>
class KinematicsCache
{
private:
std::unordered_map<RigidBody const *, KinematicsCacheElement<Scalar>, std::hash<RigidBody const *>, std::equal_to<RigidBody const *>, Eigen::aligned_allocator<std::pair<RigidBody const*, KinematicsCacheElement<Scalar> > > > elements;
std::unordered_map<RigidBody const *, KinematicsCacheElement<Scalar>, std::hash<RigidBody const *>, std::equal_to<RigidBody const *>, Eigen::aligned_allocator<std::pair<RigidBody const* const, KinematicsCacheElement<Scalar> > > > elements;
Eigen::Matrix<Scalar, Eigen::Dynamic, 1> q;
Eigen::Matrix<Scalar, Eigen::Dynamic, 1> v;
bool velocity_vector_valid;
Expand Down

0 comments on commit 08eef3c

Please sign in to comment.