aboutsummaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/env.h b/src/env.h
index 862431df2d..59ad81bc21 100644
--- a/src/env.h
+++ b/src/env.h
@@ -617,7 +617,7 @@ class Environment {
inline void set_http_parser_buffer(char* buffer);
inline http2::http2_state* http2_state() const;
- inline void set_http2_state(http2::http2_state * state);
+ inline void set_http2_state(std::unique_ptr<http2::http2_state> state);
inline double* fs_stats_field_array() const;
inline void set_fs_stats_field_array(double* fields);
@@ -752,7 +752,7 @@ class Environment {
double* heap_space_statistics_buffer_ = nullptr;
char* http_parser_buffer_;
- http2::http2_state* http2_state_ = nullptr;
+ std::unique_ptr<http2::http2_state> http2_state_;
double* fs_stats_field_array_;