trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] branch master updated: Fixed std::array initialization for older compilers
Date Wed, 07 Aug 2019 15:17:15 GMT
This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new b5fa44d  Fixed std::array initialization for older compilers
b5fa44d is described below

commit b5fa44d014e9a3a5daa12d2d760c997a8d098c8f
Author: Bryan Call <bcall@apache.org>
AuthorDate: Tue Aug 6 15:12:07 2019 -0700

    Fixed std::array initialization for older compilers
---
 proxy/Milestones.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/Milestones.h b/proxy/Milestones.h
index 3170c0f..744a326 100644
--- a/proxy/Milestones.h
+++ b/proxy/Milestones.h
@@ -89,7 +89,7 @@ public:
   }
 
 private:
-  std::array<ink_hrtime, entries> _milestones = {0};
+  std::array<ink_hrtime, entries> _milestones = {{0}};
 };
 
 // For compatibility with HttpSM.h and HttpTransact.h


Mime
View raw message