Skip to content

Commit c1005a5

Browse files
clang-format
1 parent d35eaf4 commit c1005a5

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/common.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,12 @@ write_predicted_complexity_curve(const string &outfile, const double c_level,
338338
of.open(outfile);
339339
std::ostream out(outfile.empty() ? std::cout.rdbuf() : of.rdbuf());
340340

341-
out << "TOTAL_READS\tEXPECTED_DISTINCT\t"
342-
<< "LOWER_" << c_level << "CI\t"
343-
<< "UPPER_" << c_level << "CI" << endl;
341+
// clang-format off
342+
out << "TOTAL_READS" << '\t'
343+
<< "EXPECTED_DISTINCT" << '\t'
344+
<< "LOWER_" << c_level << "CI" << '\t'
345+
<< "UPPER_" << c_level << "CI" << '\n';
346+
// clang-format on
344347

345348
out.setf(std::ios_base::fixed, std::ios_base::floatfield);
346349
out.precision(1);

src/dnmt_error.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ struct dnmt_error : public std::exception {
3030
dnmt_error(const std::int64_t err, const std::string &msg) :
3131
err{err}, the_errno{errno}, msg{msg} {
3232
std::ostringstream oss;
33+
// clang-format off
3334
oss << "[error: " << err << "][" << "ERRNO: " << the_errno << "]"
3435
<< "[" << strerror(the_errno) << "][" << msg << "]";
36+
// clang-format on
3537
the_what = oss.str();
3638
}
3739
explicit dnmt_error(const std::string &_msg) : dnmt_error(0, _msg) {}

0 commit comments

Comments
 (0)