From 51fe7836ca28765bb8ff8354cfe89af36036f735 Mon Sep 17 00:00:00 2001 From: Jan Kevin Dick Date: Mon, 18 Nov 2019 11:57:58 +0100 Subject: [PATCH] Rename Method and fix error in vcxproj File --- Util/include/Poco/Util/WinService.h | 2 +- Util/src/WinService.cpp | 2 +- Util/testsuite/TestSuite_vs150.vcxproj | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Util/include/Poco/Util/WinService.h b/Util/include/Poco/Util/WinService.h index a983c8de9..4d29cc4d3 100644 --- a/Util/include/Poco/Util/WinService.h +++ b/Util/include/Poco/Util/WinService.h @@ -140,7 +140,7 @@ public: void setFailureActions(FailureActionVector failureActions, const std::string& command = "", const std::string& rebootMessage = ""); /// Sets the Failure Actions for the service. - FailureActionTypeVector getFailureAction() const; + FailureActionTypeVector getFailureActions() const; /// Returns the Failure Actions for the service. void setDescription(const std::string& description); diff --git a/Util/src/WinService.cpp b/Util/src/WinService.cpp index 47786513d..cb36824cb 100644 --- a/Util/src/WinService.cpp +++ b/Util/src/WinService.cpp @@ -329,7 +329,7 @@ void WinService::setFailureActions(FailureActionVector failureActions, const std delete[] actions; } -WinService::FailureActionTypeVector WinService::getFailureAction() const { +WinService::FailureActionTypeVector WinService::getFailureActions() const { open(); int size = 4096; DWORD bytesNeeded; diff --git a/Util/testsuite/TestSuite_vs150.vcxproj b/Util/testsuite/TestSuite_vs150.vcxproj index d7009ebaf..7e678031f 100644 --- a/Util/testsuite/TestSuite_vs150.vcxproj +++ b/Util/testsuite/TestSuite_vs150.vcxproj @@ -329,7 +329,6 @@ - @@ -359,7 +358,6 @@ -