You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2019/01/08 22:59:11 UTC

[trafficserver] branch master updated: Fixed clang 5.0.0 issue with brace initialization

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 6e84a42  Fixed clang 5.0.0 issue with brace initialization
6e84a42 is described below

commit 6e84a42f6870a100bc9ea71e968ecb0c611a0375
Author: Bryan Call <bc...@apache.org>
AuthorDate: Tue Jan 8 14:13:18 2019 -0800

    Fixed clang 5.0.0 issue with brace initialization
---
 iocore/eventsystem/I_VConnection.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/eventsystem/I_VConnection.h b/iocore/eventsystem/I_VConnection.h
index 62f6041..bc72ba5 100644
--- a/iocore/eventsystem/I_VConnection.h
+++ b/iocore/eventsystem/I_VConnection.h
@@ -406,7 +406,7 @@ public:
   };
 
 protected:
-  std::array<void *, TS_VCONN_MAX_USER_ARG> user_args{nullptr};
+  std::array<void *, TS_VCONN_MAX_USER_ARG> user_args{{nullptr}};
 };
 
 struct DummyVConnection : public AnnotatedVConnection {