diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-11-28 21:24:55 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-11-28 21:28:11 +0400 |
commit | b7bca8663ac86fbade802ce4d7c835f45bb98807 (patch) | |
tree | 37593233eb54964fd44f33e19486a7951ed2501a /intern/itasc/kdl/tree.hpp | |
parent | 683093b5c8df391eac957cfe0c76c33d46c3503e (diff) |
Made collections port compatible with MSVC2008
The issue was caused by the fact that in this version
of MSVC unordered_map class is defined in <unordered_map>
header file, but this file declares the class int std::tr1
namespace.
This confused existing assumption that if there's an
existing <unordered_map> file then class is declared
in std namespace.
Added an extra check to CMake which detects whether
it's std or std::tr1 which actually contains class
of unordered_map.
This might be changed/cleaned in the future, for
now committing to our repository to solve compilation
error on windows.
Details of the patch in upstream can be found there:
https://ceres-solver-review.googlesource.com/#/c/4371/
Diffstat (limited to 'intern/itasc/kdl/tree.hpp')
0 files changed, 0 insertions, 0 deletions