Skip to content

Commit 684421f

Browse files
committed
Update include guards
1 parent 8db8943 commit 684421f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/sudoku_generator.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* Copyright 2023 Arjun Aravind */
22
#ifndef SRC_SUDOKU_GENERATOR_H_
33
#define SRC_SUDOKU_GENERATOR_H_
4-
#endif // SRC_SUDOKU_GENERATOR_H_
54

65
#include<chrono>
76
#include<random>
@@ -56,3 +55,5 @@ Grid generate_puzzle() {
5655
}
5756

5857
} // namespace sudoku
58+
59+
#endif // SRC_SUDOKU_GENERATOR_H_

src/sudoku_solver.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* Copyright 2023 Arjun Aravind */
22
#ifndef SRC_SUDOKU_SOLVER_H_
33
#define SRC_SUDOKU_SOLVER_H_
4-
#endif // SRC_SUDOKU_SOLVER_H_
54

65
#include<utility>
76

@@ -48,3 +47,5 @@ void solve(Grid *grid) {
4847
}
4948

5049
} // namespace sudoku
50+
51+
#endif // SRC_SUDOKU_SOLVER_H_

src/sudoku_validator.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* Copyright 2023 Arjun Aravind */
22
#ifndef SRC_SUDOKU_VALIDATOR_H_
33
#define SRC_SUDOKU_VALIDATOR_H_
4-
#endif // SRC_SUDOKU_VALIDATOR_H_
54

65
#include<utility>
76

@@ -27,3 +26,5 @@ bool is_valid_solution(
2726
}
2827

2928
} // namespace sudoku
29+
30+
#endif // SRC_SUDOKU_VALIDATOR_H_

0 commit comments

Comments
 (0)