commit | 9d8632e1a76de6bd6abc853c0fbd6a2c9dc32cdc | [log] [tgz] |
---|---|---|
author | Dimitry Ivanov <dimitry@google.com> | Thu Dec 10 17:39:48 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Dec 10 17:39:48 2015 +0000 |
tree | 305a1363fc70628723c7a9d924cd1a59494c0b58 | |
parent | 39801757c3bf688bee28f636959757953b2bb695 [diff] | |
parent | 89a50fe1ebfa09f6a5e82566e27f80708a50db4d [diff] |
Merge "constexpr constructor for atfork_list_t"
diff --git a/libc/bionic/pthread_atfork.cpp b/libc/bionic/pthread_atfork.cpp index 093ffd2..2200a6c 100644 --- a/libc/bionic/pthread_atfork.cpp +++ b/libc/bionic/pthread_atfork.cpp
@@ -45,7 +45,7 @@ class atfork_list_t { public: - atfork_list_t() : first_(nullptr), last_(nullptr) {} + constexpr atfork_list_t() : first_(nullptr), last_(nullptr) {} template<typename F> void walk_forward(F f) {