This is an automated email from the ASF dual-hosted git repository. asekretenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git
commit dff028b63bd0ece4bb1b0d60eac4c9aa1fc3242b Author: Andrei Sekretenko <[email protected]> AuthorDate: Fri Aug 28 19:51:03 2020 +0200 Fixed compilation failure due to -Wmissing-braces in `Master::Master()`. This fixes compilation failure on some versions of clang/gcc introduced in 470665e1575b9a91dffca974485940c7a0a1fe37 caused by missing braces in `OfferConstraintsFilter` initialization. --- src/master/master.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/master/master.cpp b/src/master/master.cpp index e3858b9..0272329 100644 --- a/src/master/master.cpp +++ b/src/master/master.cpp @@ -335,8 +335,8 @@ Master::Master( metrics(new Metrics(*this)), electedTime(None()), offerConstraintsFilterOptions( - {flags.offer_constraints_re2_max_mem, - flags.offer_constraints_re2_max_program_size}) + {{flags.offer_constraints_re2_max_mem, + flags.offer_constraints_re2_max_program_size}}) { slaves.limiter = _slaveRemovalLimiter;
