Skip to content

Commit ff40d10

Browse files
authored
Merge pull request #110 from yt-project/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents e10c530 + ca186c6 commit ff40d10

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ci:
1212

1313
repos:
1414
- repo: https://github.com/pre-commit/mirrors-clang-format
15-
rev: v18.1.2
15+
rev: v18.1.8
1616
hooks:
1717
- id: clang-format
1818
types_or: ['c++', 'c']

include/TimerControl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class TimerControl {
99
public:
10-
TimerControl(){};
10+
TimerControl() {};
1111
void CreateFile(const char* filename, int rank);
1212
void WriteProfile(const char* func_name, long long start, long long end, uint32_t thread_id);
1313

include/define_command.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class define_command {
2222
void write_to_file(const char* format, ...);
2323

2424
public:
25-
define_command() : m_Undefine(true){};
26-
define_command(const std::string& output_filename) : m_OutputFileName(output_filename), m_Undefine(true){};
25+
define_command() : m_Undefine(true) {};
26+
define_command(const std::string& output_filename) : m_OutputFileName(output_filename), m_Undefine(true) {};
2727
std::array<bool, 2> run(const std::string& command = std::string(""));
2828
};
2929

include/magic_command.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class MagicCommand {
2828
int get_func_status(const std::string& funcname);
2929

3030
public:
31-
MagicCommand() : m_Command(""), m_Undefine(true), m_OutputData(){};
31+
MagicCommand() : m_Command(""), m_Undefine(true), m_OutputData() {};
3232
OutputData& run(const std::string& command = std::string(""));
3333
};
3434

0 commit comments

Comments
 (0)