fixing a return typo

This commit is contained in:
DuckSoft 2020-05-14 14:15:20 +08:00
parent 10ade1ae38
commit 7c1d9b05eb
No known key found for this signature in database
GPG Key ID: 7A3A9FA6E4FD4A8D

View File

@ -27,7 +27,7 @@ namespace Qv2ray::core::kernel::abi
std::pair<std::optional<QvKernelABIType>, std::optional<QString>> deduceKernelABI(const QString &pathCoreExecutable)
{
#ifdef QV2RAY_TRUSTED_ABI
return QvKernelABIType::ABI_TRUSTED;
return { QvKernelABIType::ABI_TRUSTED, std::nullopt };
#else
QFile file(pathCoreExecutable);
if (!file.exists())