diff options
author | Anna Henningsen <anna@addaleax.net> | 2020-03-29 02:34:07 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-04-02 18:25:29 +0300 |
commit | c4b381a1311ef7d77b9e13dc4b1448649823ba02 (patch) | |
tree | fabd1aab27f0abf02941bbfe9b9996adf837cf16 /src/node_perf_common.h | |
parent | 037ac99ed5aa763b7a3567da2cc81f9d7b97bdf9 (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/node_perf_common.h')
-rw-r--r-- | src/node_perf_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_perf_common.h b/src/node_perf_common.h index 8e602a76636..75d266afc25 100644 --- a/src/node_perf_common.h +++ b/src/node_perf_common.h @@ -52,9 +52,9 @@ enum PerformanceEntryType { NODE_PERFORMANCE_ENTRY_TYPE_INVALID }; -class performance_state { +class PerformanceState { public: - explicit performance_state(v8::Isolate* isolate) : + explicit PerformanceState(v8::Isolate* isolate) : root( isolate, sizeof(performance_state_internal)), |