Skip to content

Commit 9c37ad8

Browse files
committed
Clang-format includes for piped_process
So that the changes in the following commit do not get mixed in with clang-format related include re-ordering.
1 parent f343922 commit 9c37ad8

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

src/util/piped_process.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,16 @@
8888
# include <unistd.h> // library for read/write/sleep/etc. functions
8989
#endif
9090

91-
# include <cstring> // library for strerror function (on linux)
92-
# include <iostream>
93-
# include <vector>
91+
#include "exception_utils.h"
92+
#include "invariant.h"
93+
#include "narrow.h"
94+
#include "optional.h"
95+
#include "piped_process.h"
96+
#include "string_utils.h"
9497

95-
# include "exception_utils.h"
96-
# include "invariant.h"
97-
# include "narrow.h"
98-
# include "optional.h"
99-
# include "piped_process.h"
100-
# include "string_utils.h"
98+
#include <cstring> // library for strerror function (on linux)
99+
#include <iostream>
100+
#include <vector>
101101

102102
#ifdef _WIN32
103103
# define BUFSIZE (1024 * 64)

src/util/piped_process.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ typedef void *HANDLE; // NOLINT
1515

1616
#include "nodiscard.h"
1717
#include "optional.h"
18+
1819
#include <vector>
1920

2021
#define PIPED_PROCESS_INFINITE_TIMEOUT \

0 commit comments

Comments
 (0)