diff --git a/llvm/utils/benchmark/src/sysinfo.cc b/llvm/utils/benchmark/src/sysinfo.cc --- a/llvm/utils/benchmark/src/sysinfo.cc +++ b/llvm/utils/benchmark/src/sysinfo.cc @@ -176,8 +176,9 @@ return true; } -template ::value>> -bool GetSysctl(std::string const &Name, Tp *Out) { +template ::value>::type> +bool GetSysctl(std::string const& Name, Tp* Out) { *Out = 0; auto Buff = GetSysctlImp(Name); if (!Buff) return false;