Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/metrics/metrics_driver.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*PGR-GNU*****************************************************************
File: allpairs_driver.cpp
File: metrics_driver.cpp

Generated with Template by:
Copyright (c) 2025 pgRouting developers
Mail: project@pgrouting.org

Developer:
Developer:
Copyright (c) 2025 Saloni Kumari
Mail: chaudharysaloni2510 at gmail.com

Expand Down
12 changes: 6 additions & 6 deletions src/metrics/metrics_process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,23 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

#include "process/metrics_process.h"

#include <string>

extern "C" {
#include "c_common/postgres_connection.h"
#include "c_common/e_report.h"
#include "c_common/time_msg.h"
}

#include <string>

#include "c_types/iid_t_rt.h"
#include "cpp_common/assert.hpp"
#include "drivers/metrics_driver.hpp"

#if 0
which = 0 -> bandwidth
/**
which = 0 -> bandwidth

This is c++ code, linked as C code, because pgr_process_metrics is called from C code
#endif
This is c++ code, linked as C code, because pgr_process_metrics is called from C code
*/
void pgr_process_metrics(const char* edges_sql, int which, IID_t_rt **result_tuples, size_t *result_count) {
pgassert(edges_sql);
pgassert(!(*result_tuples));
Expand Down
4 changes: 2 additions & 2 deletions src/ordering/ordering_process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

#include "process/ordering_process.h"

#include <string>

extern "C" {
#include "c_common/postgres_connection.h"
#include "c_common/e_report.h"
#include "c_common/time_msg.h"
}

#include <string>

#include "cpp_common/assert.hpp"
#include "drivers/ordering_driver.hpp"

Expand Down
2 changes: 2 additions & 0 deletions tools/scripts/code_checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ INCLUDE_ORDER="
-build/include_order:src/cpp_common/pgdata_getters.cpp,
-build/include_order:include/cpp_common/get_data.hpp,
-build/include_order:src/dijkstra/shortestPath_process.cpp,
-build/include_order:src/metrics/metrics_process.cpp,
-build/include_order:src/ordering/ordering_process.cpp,
-build/include_order:src/allpairs/allpairs_process.cpp"

if test -z "$DIRECTORY"; then
Expand Down