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/09 17:34:05 UTC

[trafficserver] branch 8.0.x 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 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/8.0.x by this push:
     new e8ee826  Fixed clang 5.0.0 issue with brace initialization
e8ee826 is described below

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

    Fixed clang 5.0.0 issue with brace initialization
    
    (cherry picked from commit 6e84a42f6870a100bc9ea71e968ecb0c611a0375)
---
 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 {