Merge "constexpr constructor for atfork_list_t"

This commit is contained in:
Dimitry Ivanov
2015-12-10 17:39:48 +00:00
committed by Gerrit Code Review

View File

@@ -45,7 +45,7 @@ struct atfork_t {
class atfork_list_t { class atfork_list_t {
public: public:
atfork_list_t() : first_(nullptr), last_(nullptr) {} constexpr atfork_list_t() : first_(nullptr), last_(nullptr) {}
template<typename F> template<typename F>
void walk_forward(F f) { void walk_forward(F f) {