Fix TBB compilation issue
parent
a8eb98acea
commit
9e460d26eb
|
|
@ -130,7 +130,7 @@ namespace gtsam {
|
||||||
GTSAM_EXPORT std::ostream& operator<<(std::ostream& os, const VectorValues& v) {
|
GTSAM_EXPORT std::ostream& operator<<(std::ostream& os, const VectorValues& v) {
|
||||||
// Change print depending on whether we are using TBB
|
// Change print depending on whether we are using TBB
|
||||||
#ifdef GTSAM_USE_TBB
|
#ifdef GTSAM_USE_TBB
|
||||||
map<Key, Vector> sorted;
|
std::map<Key, Vector> sorted;
|
||||||
for (const auto& [key,value] : v) {
|
for (const auto& [key,value] : v) {
|
||||||
sorted.emplace(key, value);
|
sorted.emplace(key, value);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue