Fix TBB compilation issue

release/4.3a0
Frank Dellaert 2023-02-11 22:17:46 -08:00
parent b30d553042
commit cb6603416c
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ namespace gtsam {
GTSAM_EXPORT std::ostream& operator<<(std::ostream& os, const VectorValues& v) {
// Change print depending on whether we are using TBB
#ifdef GTSAM_USE_TBB
map<Key, Vector> sorted;
std::map<Key, Vector> sorted;
for (const auto& [key,value] : v) {
sorted.emplace(key, value);
}