Fix parameter type for Service::RemoveDowntime.

This commit is contained in:
Gunnar Beutner 2013-09-18 10:06:31 +02:00
parent db2f7d5bf3
commit 282acd94ec
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ String Service::AddDowntime(const String& comment_id,
return uid;
}
void Service::RemoveDowntime(const String& id, const bool& cancelled, const String& authority)
void Service::RemoveDowntime(const String& id, bool cancelled, const String& authority)
{
Service::Ptr owner = GetOwnerByDowntimeID(id);

View File

@ -262,7 +262,7 @@ public:
const String& triggeredBy, double duration,
const String& id = String(), const String& authority = String());
static void RemoveDowntime(const String& id, const bool& cancelled, const String& = String());
static void RemoveDowntime(const String& id, bool cancelled, const String& = String());
void TriggerDowntimes(void);
static void TriggerDowntime(const String& id);