From 4391ea7a60cf552e8622489729d761925f405d5c Mon Sep 17 00:00:00 2001 From: Robert Knight Date: Fri, 26 Aug 2011 18:35:25 +0100 Subject: [PATCH] Fix Mac compilation Use correct return type for ProcessUtils::runElevatedMac() --- src/ProcessUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ProcessUtils.cpp b/src/ProcessUtils.cpp index e5e3f1f..9630bb2 100644 --- a/src/ProcessUtils.cpp +++ b/src/ProcessUtils.cpp @@ -152,7 +152,7 @@ int ProcessUtils::runElevatedLinux(const std::string& executable, #endif #ifdef PLATFORM_MAC -void ProcessUtils::runElevatedMac(const std::string& executable, +int ProcessUtils::runElevatedMac(const std::string& executable, const std::list& args) { // request elevation using the Security Service.