Skip to content

Commit

Permalink
Fix for GCC8 openMVG#1329
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoulon committed Jun 10, 2018
1 parent 0ad1572 commit e887fad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/software/SfM/io_readGT.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ bool readGt(
{
std::cout << std::endl << "Read rotation and translation estimates" << std::endl;
// Load GT
std::map<std::string, Mat3, Eigen::aligned_allocator<Mat3>> map_R_gt;
std::map<std::string, Mat3, std::less<std::string>,
Eigen::aligned_allocator<std::pair<const std::string, Mat3>>> map_R_gt;
//Try to read .suffix camera (parse camera names)
std::vector<std::string> vec_camfilenames =
stlplus::folder_wildcard(sGTPath, "*." + suffix, false, true);
Expand Down

0 comments on commit e887fad

Please sign in to comment.