summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/env.h b/src/env.h
index 9c5ba966f4..6a5fbd0587 100644
--- a/src/env.h
+++ b/src/env.h
@@ -38,7 +38,6 @@
#include "node_http2_state.h"
#include <list>
-#include <map>
#include <stdint.h>
#include <vector>
#include <unordered_map>
@@ -646,7 +645,7 @@ class Environment {
file_handle_read_wrap_freelist();
inline performance::performance_state* performance_state();
- inline std::map<std::string, uint64_t>* performance_marks();
+ inline std::unordered_map<std::string, uint64_t>* performance_marks();
void CollectExceptionInfo(v8::Local<v8::Value> context,
int errorno,
@@ -795,7 +794,7 @@ class Environment {
int should_not_abort_scope_counter_ = 0;
std::unique_ptr<performance::performance_state> performance_state_;
- std::map<std::string, uint64_t> performance_marks_;
+ std::unordered_map<std::string, uint64_t> performance_marks_;
#if HAVE_INSPECTOR
std::unique_ptr<inspector::Agent> inspector_agent_;