Skip to content

Commit 6488381

Browse files
committed
made sslctxID constexpr
1 parent 65fa697 commit 6488381

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
#include "CellularLog.h"
2222
#include "netsocket/TLSSocket.h"
2323

24-
static const int sslctxID = 1;
2524

2625
using namespace mbed;
2726
using namespace std::chrono_literals;
2827

29-
28+
constexpr int sslctxID = 1;
3029
constexpr auto socket_timeout = 1s;
3130

31+
3232
TELIT_ME310_CellularStack::TELIT_ME310_CellularStack(ATHandler &atHandler, int cid, nsapi_ip_stack_t stack_type, AT_CellularDevice &device) :
3333
AT_CellularStack(atHandler, cid, stack_type, device)
3434
, _tls_sec_level(0)

0 commit comments

Comments
 (0)