From 4d527623b68bb4a5f3cf3beff45d22a215a28507 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 8 Jan 2022 10:46:01 -0800 Subject: [PATCH] move lib/mingle/nearest_neighbor_graph.c to C++ This is straight renaming; no C++ adaptations made yet. Gitlab: #2154 --- lib/mingle/CMakeLists.txt | 2 +- lib/mingle/Makefile.am | 2 +- lib/mingle/minglelib.vcxproj | 2 +- lib/mingle/minglelib.vcxproj.filters | 2 +- .../{nearest_neighbor_graph.c => nearest_neighbor_graph.cpp} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename lib/mingle/{nearest_neighbor_graph.c => nearest_neighbor_graph.cpp} (100%) diff --git a/lib/mingle/CMakeLists.txt b/lib/mingle/CMakeLists.txt index 51fd40336..f23811f14 100644 --- a/lib/mingle/CMakeLists.txt +++ b/lib/mingle/CMakeLists.txt @@ -12,7 +12,7 @@ add_library(libmingle STATIC agglomerative_bundling.c edge_bundling.c ink.cpp - nearest_neighbor_graph.c + nearest_neighbor_graph.cpp nearest_neighbor_graph_ann.cpp ) diff --git a/lib/mingle/Makefile.am b/lib/mingle/Makefile.am index b79e74a2b..877ba2842 100644 --- a/lib/mingle/Makefile.am +++ b/lib/mingle/Makefile.am @@ -15,7 +15,7 @@ noinst_LTLIBRARIES = libmingle_C.la endif libmingle_C_la_SOURCES = edge_bundling.c ink.cpp agglomerative_bundling.c \ - nearest_neighbor_graph.c nearest_neighbor_graph_ann.cpp + nearest_neighbor_graph.cpp nearest_neighbor_graph_ann.cpp EXTRA_DIST = minglelib.vcxproj* diff --git a/lib/mingle/minglelib.vcxproj b/lib/mingle/minglelib.vcxproj index 1fbff5247..8b8e1eeba 100644 --- a/lib/mingle/minglelib.vcxproj +++ b/lib/mingle/minglelib.vcxproj @@ -102,7 +102,7 @@ - + diff --git a/lib/mingle/minglelib.vcxproj.filters b/lib/mingle/minglelib.vcxproj.filters index 626b74b62..5a5657ca9 100644 --- a/lib/mingle/minglelib.vcxproj.filters +++ b/lib/mingle/minglelib.vcxproj.filters @@ -24,7 +24,7 @@ Source Files - + Source Files diff --git a/lib/mingle/nearest_neighbor_graph.c b/lib/mingle/nearest_neighbor_graph.cpp similarity index 100% rename from lib/mingle/nearest_neighbor_graph.c rename to lib/mingle/nearest_neighbor_graph.cpp -- 2.40.0