Skip to content

Commit

Permalink
run clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Dreik authored and pauldreik committed Jan 12, 2025
1 parent 9ac0428 commit d70a586
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion CmdlineParser.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public:
: m_argc(argc)
, m_argv(argv)
, m_index(1)
{}
{
}

/**
* tries to parse arg.
Expand Down
3 changes: 2 additions & 1 deletion Dirlist.hh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ public:
explicit Dirlist(bool followsymlinks)
: m_followsymlinks(followsymlinks)
, m_callback(nullptr)
{}
{
}

private:
// follow symlinks or not
Expand Down
3 changes: 2 additions & 1 deletion EasyRandom.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ EasyRandom::getGlobalObject()

EasyRandom::EasyRandom()
: m_rand(getGlobalObject())
{}
{
}

std::string
EasyRandom::makeRandomFileString(std::size_t N)
Expand Down
3 changes: 2 additions & 1 deletion Rdutil.cc
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ class dryrun_helper
explicit dryrun_helper(const char* m1, const char* m2 = nullptr)
: m_m1(m1)
, m_m2(m2)
{}
{
}

const char* const m_m1;
const char* const m_m2;
Expand Down
3 changes: 2 additions & 1 deletion Rdutil.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class Rdutil
public:
explicit Rdutil(std::vector<Fileinfo>& list)
: m_list(list)
{}
{
}

/**
* print file names to a file, with extra information.
Expand Down
3 changes: 1 addition & 2 deletions rdfind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ static void
usage()
{
std::cout
<< "Usage: "
<< "rdfind [options] FILE ...\n"
<< "Usage: " << "rdfind [options] FILE ...\n"
<< '\n'
<< "Finds duplicate files recursively in the given FILEs (directories),\n"
<< "and takes appropriate action (by default, nothing).\n"
Expand Down

0 comments on commit d70a586

Please sign in to comment.