File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -91,12 +91,12 @@ class PerformanceEntry : public BaseObject {
91
91
}
92
92
93
93
private:
94
- Environment* env_;
95
- std::string name_;
96
- std::string type_;
97
- uint64_t startTime_;
98
- uint64_t endTime_;
99
- int data_;
94
+ Environment* const env_;
95
+ const std::string name_;
96
+ const std::string type_;
97
+ const uint64_t startTime_;
98
+ const uint64_t endTime_;
99
+ const int data_;
100
100
};
101
101
102
102
static void NotifyObservers (Environment* env, PerformanceEntry* entry);
@@ -157,10 +157,10 @@ class PerformanceEntry : public BaseObject {
157
157
}
158
158
159
159
private:
160
- std::string name_;
161
- std::string type_;
162
- uint64_t startTime_;
163
- uint64_t endTime_;
160
+ const std::string name_;
161
+ const std::string type_;
162
+ const uint64_t startTime_;
163
+ const uint64_t endTime_;
164
164
};
165
165
166
166
enum PerformanceGCKind {
You can’t perform that action at this time.
0 commit comments