From 54faf8e991e32082c39b9fecda4d57e18f7b5ef5 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Sun, 23 Feb 2020 14:58:21 +0100 Subject: [PATCH] move graph common helpers under graph::common --- alib2graph_algo/src/common/ReconstructPath.hpp | 4 ++-- alib2graph_data/src/common/SupportFunction.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/alib2graph_algo/src/common/ReconstructPath.hpp b/alib2graph_algo/src/common/ReconstructPath.hpp index b15ffedf76..b251c52e46 100644 --- a/alib2graph_algo/src/common/ReconstructPath.hpp +++ b/alib2graph_algo/src/common/ReconstructPath.hpp @@ -14,7 +14,7 @@ #include <alib/vector> #include <algorithm> -namespace common { +namespace graph::common { class ReconstructPath { // --------------------------------------------------------------------------------------------------------------------- @@ -172,6 +172,6 @@ ext::vector<TNode> ReconstructPath::joinPath(ext::vector<TNode> &forward_path, // --------------------------------------------------------------------------------------------------------------------- -} // namespace common +} // namespace graph::common #endif //ALIB2_RECONSTRUCTPATH_HPP diff --git a/alib2graph_data/src/common/SupportFunction.hpp b/alib2graph_data/src/common/SupportFunction.hpp index 8bc62b617a..96849b2597 100644 --- a/alib2graph_data/src/common/SupportFunction.hpp +++ b/alib2graph_data/src/common/SupportFunction.hpp @@ -14,7 +14,7 @@ #include <graph/GraphClasses.hpp> #include <grid/GridClasses.hpp> -namespace common { +namespace graph::common { class SupportFunction { // --------------------------------------------------------------------------------------------------------------------- @@ -98,6 +98,6 @@ SupportFunction::getMinEdgeValue(const grid::WeightedSquareGrid4<TCoordinate, TE // --------------------------------------------------------------------------------------------------------------------- -} // namespace common +} // namespace graph::common #endif //ALIB2_GRAPHFUNCTION_HPP -- GitLab