Skip to content

v0.2.50..v0.2.51 changeset InMemoryElementSorter.cpp

Garret Voltz edited this page Jan 15, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/elements/InMemoryElementSorter.cpp b/hoot-core/src/main/cpp/hoot/core/elements/InMemoryElementSorter.cpp
index e349de0..f9d4b4d 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/InMemoryElementSorter.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/elements/InMemoryElementSorter.cpp
@@ -26,7 +26,9 @@
  */
 #include "InMemoryElementSorter.h"
 
+// Hoot
 #include <hoot/core/util/Log.h>
+#include <hoot/core/util/StringUtils.h>
 
 // Standard
 #include <algorithm>
@@ -47,7 +49,9 @@ InMemoryElementSorter::InMemoryElementSorter(ConstOsmMapPtr source) :
     // log that.
     if (source->getElementCount() > 0)
     {
-      LOG_INFO("Sorting " << source->getElementCount() << " elements in-memory...");
+      LOG_INFO(
+        "Sorting " << StringUtils::formatLargeNumber(source->getElementCount()) <<
+        " elements in-memory...");
     }
 
     _source = source;
Clone this wiki locally