diff --git a/libc/bionic/pthread_atfork.cpp b/libc/bionic/pthread_atfork.cpp index 093ffd240..2200a6c36 100644 --- a/libc/bionic/pthread_atfork.cpp +++ b/libc/bionic/pthread_atfork.cpp @@ -45,7 +45,7 @@ struct atfork_t { class atfork_list_t { public: - atfork_list_t() : first_(nullptr), last_(nullptr) {} + constexpr atfork_list_t() : first_(nullptr), last_(nullptr) {} template void walk_forward(F f) {