Skip to content

Commit

Permalink
Fix const parameter. Thx to @rperrot
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoulon committed Apr 15, 2016
1 parent f9e64c3 commit b08be53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openMVG/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ typedef std::vector<Pair> Pair_Vec;
*/
template<typename K, typename V>
struct Hash_Map : std::map<K, V, std::less<K>,
Eigen::aligned_allocator<std::pair<K, V> > > {};
Eigen::aligned_allocator<std::pair<const K, V> > > {};
#endif

#if defined OPENMVG_STD_UNORDERED_MAP
Expand Down

0 comments on commit b08be53

Please sign in to comment.