Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2020-03-29 02:34:07 +0300
committerMichaël Zasso <targos@protonmail.com>2020-04-11 11:03:12 +0300
commite066584d94e7fbe81cf4978c517446fca6b00bbc (patch)
treeb922911884a9c7f1852730eb03c3c2380ff12aa5 /src/env.h
parent78b90d9bc48aed7166c14d2e043f796317b233d2 (diff)
src: align PerformanceState class name with conventions
Class names are written in UpperCamelCase. Otherwise, this looks like it’s a variable, not a class name. PR-URL: https://github.com/nodejs/node/pull/32539 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/env.h b/src/env.h
index 6a459f00edb..309bb494a74 100644
--- a/src/env.h
+++ b/src/env.h
@@ -64,7 +64,7 @@ class FileHandleReadWrap;
}
namespace performance {
-class performance_state;
+class PerformanceState;
}
namespace tracing {
@@ -1016,7 +1016,7 @@ class Environment : public MemoryRetainer {
inline std::vector<std::unique_ptr<fs::FileHandleReadWrap>>&
file_handle_read_wrap_freelist();
- inline performance::performance_state* performance_state();
+ inline performance::PerformanceState* performance_state();
inline std::unordered_map<std::string, uint64_t>* performance_marks();
void CollectUVExceptionInfo(v8::Local<v8::Value> context,
@@ -1323,7 +1323,7 @@ class Environment : public MemoryRetainer {
AliasedInt32Array stream_base_state_;
- std::unique_ptr<performance::performance_state> performance_state_;
+ std::unique_ptr<performance::PerformanceState> performance_state_;
std::unordered_map<std::string, uint64_t> performance_marks_;
bool has_run_bootstrapping_code_ = false;