Minor fix

This commit is contained in:
Stephen Seo 2019-07-07 14:48:58 +09:00
parent 132508d5cc
commit 084700d54b

View file

@ -33,7 +33,7 @@ bool UDPC::VerifyContext(void *ctx) {
} }
bool UDPC::isBigEndian() { bool UDPC::isBigEndian() {
static std::optional<bool> isBigEndian = {}; static std::optional<bool> isBigEndian = std::nullopt;
if(isBigEndian) { if(isBigEndian) {
return *isBigEndian; return *isBigEndian;
} }