Skip to content

Commit d8072b9

Browse files
committed
Fixed inconsistent formatting of blank lines.
1 parent 62cd093 commit d8072b9

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/h/algorithm.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#pragma once
2+
13
#include "graph.h"
24
#include "list.h"
35
#include "path.h"
@@ -28,7 +30,6 @@ namespace ctgl {
2830
constexpr int findDistance(G, S, T) noexcept;
2931
}
3032

31-
3233
// Definitions
3334
// -------------------------------------------------------------------------
3435

@@ -118,7 +119,6 @@ namespace ctgl {
118119
}
119120
}
120121

121-
122122
template <typename G, typename S, typename T>
123123
constexpr int findDistance(G, S, T) noexcept {
124124
constexpr auto journey = findShortestPath(G{}, S{}, T{});

src/test/algorithm_test.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using namespace ctgl;
77
using namespace forge;
88

9-
109
// Unit tests for the ctgl::algorithm::findDistance() function.
1110
TEST(AlgorithmTest, FindDistance) {
1211
// Empty

src/test/path_test.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using namespace ctgl;
77
using namespace forge;
88

9-
109
// Unit tests for the ctgl::path::length() function.
1110
TEST(PathTest, Length) {
1211
// Empty

0 commit comments

Comments
 (0)