From 0e011a77b587113d6375f410560b5a69d1c220f8 Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Mon, 10 Aug 2020 10:35:26 +0200 Subject: [PATCH] array init fix for old gcc --- slsReceiverSoftware/src/Implementation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsReceiverSoftware/src/Implementation.h b/slsReceiverSoftware/src/Implementation.h index 6f513868a..f3e5ae8ce 100644 --- a/slsReceiverSoftware/src/Implementation.h +++ b/slsReceiverSoftware/src/Implementation.h @@ -296,7 +296,7 @@ class Implementation : private virtual slsDetectorDefs { // network configuration (UDP) int numUDPInterfaces{1}; std::arrayeth; - std::array udpPortNum{DEFAULT_UDP_PORTNO, DEFAULT_UDP_PORTNO+1}; + std::array udpPortNum{{DEFAULT_UDP_PORTNO, DEFAULT_UDP_PORTNO+1}}; int64_t udpSocketBufferSize{0}; int64_t actualUDPSocketBufferSize{0};