From: Stephen Seo Date: Sun, 7 Jul 2019 05:48:58 +0000 (+0900) Subject: Minor fix X-Git-Tag: 1.0~192 X-Git-Url: https://git.seodisparate.com/stephenseo/js/darkmode.js?a=commitdiff_plain;h=084700d54b56fad1bcbd53efb2fdb10bbbdb0dc0;p=UDPConnection Minor fix --- 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; }