constexpr constructor for atfork_list_t
Bug: http://b/26026986 Change-Id: Iad95383a23f81eea776bebce641c555d26547b77
This commit is contained in:
parent
eaccfde075
commit
89a50fe1eb
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user