From b6ebf6f68754b6a91deb16a24b2a557658967dbc Mon Sep 17 00:00:00 2001 From: Rainer Kuemmerle Date: Tue, 13 Aug 2024 12:54:27 +0200 Subject: [PATCH] Use strJoin instead of fmt::join Fix #825 --- g2o/core/optimizable_graph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g2o/core/optimizable_graph.cpp b/g2o/core/optimizable_graph.cpp index 7fbbe30d1..7fc350281 100644 --- a/g2o/core/optimizable_graph.cpp +++ b/g2o/core/optimizable_graph.cpp @@ -473,14 +473,14 @@ bool OptimizableGraph::load(istream& is) { } if (!vertsOkay) { G2O_ERROR("Unable to find vertices for edge {} at line {} IDs: {}", - token, lineNumber, fmt::join(ids, " ")); + token, lineNumber, strJoin(ids.begin(), ids.end(), " ")); delete e; e = nullptr; } else { bool r = e->read(currentLine); if (!r || !addEdge(e)) { G2O_ERROR("Unable to add edge {} at line {} IDs: {}", token, - lineNumber, fmt::join(ids, " ")); + lineNumber, strJoin(ids.begin(), ids.end(), " ")); delete e; e = nullptr; }