From 023b667dcd6ad52045e96d4982dc76782c641796 Mon Sep 17 00:00:00 2001 From: Paul Dreik Date: Sun, 12 Jan 2025 14:03:38 +0100 Subject: [PATCH] run clang format --- CmdlineParser.hh | 3 ++- Dirlist.hh | 3 ++- EasyRandom.cc | 3 ++- Rdutil.cc | 3 ++- Rdutil.hh | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CmdlineParser.hh b/CmdlineParser.hh index a4b784b..84210e0 100644 --- a/CmdlineParser.hh +++ b/CmdlineParser.hh @@ -19,7 +19,8 @@ public: : m_argc(argc) , m_argv(argv) , m_index(1) - {} + { + } /** * tries to parse arg. diff --git a/Dirlist.hh b/Dirlist.hh index 02dc620..aa5e2e5 100644 --- a/Dirlist.hh +++ b/Dirlist.hh @@ -17,7 +17,8 @@ public: explicit Dirlist(bool followsymlinks) : m_followsymlinks(followsymlinks) , m_callback(nullptr) - {} + { + } private: // follow symlinks or not diff --git a/EasyRandom.cc b/EasyRandom.cc index f7043dc..09c1640 100644 --- a/EasyRandom.cc +++ b/EasyRandom.cc @@ -62,7 +62,8 @@ EasyRandom::getGlobalObject() EasyRandom::EasyRandom() : m_rand(getGlobalObject()) -{} +{ +} std::string EasyRandom::makeRandomFileString(std::size_t N) diff --git a/Rdutil.cc b/Rdutil.cc index f1f2ed7..60d5e81 100644 --- a/Rdutil.cc +++ b/Rdutil.cc @@ -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; diff --git a/Rdutil.hh b/Rdutil.hh index e5693ab..98e892f 100644 --- a/Rdutil.hh +++ b/Rdutil.hh @@ -18,7 +18,8 @@ class Rdutil public: explicit Rdutil(std::vector& list) : m_list(list) - {} + { + } /** * print file names to a file, with extra information.