Skip to content

Commit b3b8067

Browse files
committed
src: make format-cpp-build
1 parent 2c4f7ba commit b3b8067

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/inspector_profiler.cc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include "inspector_profiler.h"
2-
#include "uv.h"
32
#include "base_object-inl.h"
43
#include "debug_utils-inl.h"
54
#include "diagnosticfilename-inl.h"
@@ -9,6 +8,7 @@
98
#include "node_file.h"
109
#include "node_internals.h"
1110
#include "util-inl.h"
11+
#include "uv.h"
1212
#include "v8-inspector.h"
1313

1414
#include <cinttypes>
@@ -469,10 +469,11 @@ static void EndStartedProfilers(Environment* env) {
469469
static std::string ReplacePlaceholders(const std::string& pattern) {
470470
std::string result = pattern;
471471

472-
static const std::unordered_map<std::string, std::function<std::string()>> kPlaceholderMap = {
473-
{ "${pid}", []() { return std::to_string(uv_os_getpid()); } },
474-
// TODO(haramj): Add more placeholders as needed.
475-
};
472+
static const std::unordered_map<std::string, std::function<std::string()>>
473+
kPlaceholderMap = {
474+
{"${pid}", []() { return std::to_string(uv_os_getpid()); }},
475+
// TODO(haramj): Add more placeholders as needed.
476+
};
476477

477478
for (const auto& [placeholder, getter] : kPlaceholderMap) {
478479
size_t pos = 0;

0 commit comments

Comments
 (0)