From 084700d54b56fad1bcbd53efb2fdb10bbbdb0dc0 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Sun, 7 Jul 2019 14:48:58 +0900 Subject: [PATCH] Minor fix --- cpp_impl/src/UDPConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp_impl/src/UDPConnection.cpp b/cpp_impl/src/UDPConnection.cpp index f18e4be..f8282a9 100644 --- a/cpp_impl/src/UDPConnection.cpp +++ b/cpp_impl/src/UDPConnection.cpp @@ -33,7 +33,7 @@ bool UDPC::VerifyContext(void *ctx) { } bool UDPC::isBigEndian() { - static std::optional isBigEndian = {}; + static std::optional isBigEndian = std::nullopt; if(isBigEndian) { return *isBigEndian; }