Skip to content

Commit f9ae676

Browse files
src/Interval6.hcpp and src/load_data_for_complexity.cpp: linting
1 parent ef37269 commit f9ae676

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

src/Interval6.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <algorithm>
2121
#include <charconv>
2222
#include <cstdint>
23+
#include <cstdio> // IWYU pragma: keep
2324
#include <fstream>
2425
#include <stdexcept>
2526
#include <string>

src/Interval6.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1616
*/
1717

18-
#ifndef INTERVAL6_HPP_
19-
#define INTERVAL6_HPP_
18+
#ifndef SRC_INTERVAL6_HPP_
19+
#define SRC_INTERVAL6_HPP_
2020

2121
#include <cstdint>
2222
// #include <format> // ADS: needs c++20
@@ -37,8 +37,8 @@ struct Interval6 {
3737
Interval6(const std::string &chrom, const std::uint32_t start,
3838
const std::uint32_t stop, const std::string &name,
3939
const double score, const char strand) :
40-
chrom{chrom},
41-
start{start}, stop{stop}, name{name}, score{score}, strand{strand} {}
40+
chrom{chrom}, start{start}, stop{stop}, name{name}, score{score},
41+
strand{strand} {}
4242

4343
explicit Interval6(const std::string &line) {
4444
if (!initialize(line.data(), line.data() + std::size(line)))
@@ -85,4 +85,4 @@ size(const Interval6 &x) {
8585
[[nodiscard]] auto
8686
read_intervals6(const std::string &intervals_file) -> std::vector<Interval6>;
8787

88-
#endif // INTERVAL6_HPP_
88+
#endif // SRC_INTERVAL6_HPP_

src/load_data_for_complexity.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include <sstream>
3434
#include <stdexcept>
3535
#include <string>
36+
#include <tuple> // IWYU pragma: keep
3637
#include <utility>
3738
#include <vector>
3839

0 commit comments

Comments
 (0)