Skip to content

Commit a49df95

Browse files
committed
[ClearKeyDecrypter] On HasLicenseKey failure return nullopt
1 parent 6a321ff commit a49df95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/decrypters/clearkey/ClearKeyDecrypter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ std::optional<bool> CClearKeyDecrypter::HasLicenseKey(
4646
else
4747
LOG::LogF(LOGFATAL, "Cannot cast the decrypter shared pointer.");
4848
}
49-
return false;
49+
return std::nullopt;
5050
}

0 commit comments

Comments
 (0)