diff --git a/gtsam/linear/VectorValues.cpp b/gtsam/linear/VectorValues.cpp index cea76c7e8..482654471 100644 --- a/gtsam/linear/VectorValues.cpp +++ b/gtsam/linear/VectorValues.cpp @@ -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 sorted; + std::map sorted; for (const auto& [key,value] : v) { sorted.emplace(key, value); }