]> granicus.if.org Git - icinga2/blobdiff - lib/livestatus/downtimestable.cpp
Merge pull request #6531 from Icinga/feature/zone-all_parents
[icinga2] / lib / livestatus / downtimestable.cpp
index dbb97cc5238e8a3c35793c924b700b8d7cf284c5..008a391acdaaa676e5f50ab7db9d3e4cb8cf1f49 100644 (file)
@@ -1,6 +1,6 @@
 /******************************************************************************
  * Icinga 2                                                                   *
- * Copyright (C) 2012-2017 Icinga Development Team (https://www.icinga.com/)  *
+ * Copyright (C) 2012-2018 Icinga Development Team (https://www.icinga.com/)  *
  *                                                                            *
  * This program is free software; you can redistribute it and/or              *
  * modify it under the terms of the GNU General Public License                *
 
 using namespace icinga;
 
-DowntimesTable::DowntimesTable(void)
+DowntimesTable::DowntimesTable()
 {
        AddColumns(this);
 }
 
 void DowntimesTable::AddColumns(Table *table, const String& prefix,
-    const Column::ObjectAccessor& objectAccessor)
+       const Column::ObjectAccessor& objectAccessor)
 {
        table->AddColumn(prefix + "author", Column(&DowntimesTable::AuthorAccessor, objectAccessor));
        table->AddColumn(prefix + "comment", Column(&DowntimesTable::CommentAccessor, objectAccessor));
@@ -52,12 +52,12 @@ void DowntimesTable::AddColumns(Table *table, const String& prefix,
        HostsTable::AddColumns(table, "host_", std::bind(&DowntimesTable::HostAccessor, _1, objectAccessor));
 }
 
-String DowntimesTable::GetName(void) const
+String DowntimesTable::GetName() const
 {
        return "downtimes";
 }
 
-String DowntimesTable::GetPrefix(void) const
+String DowntimesTable::GetPrefix() const
 {
        return "downtime";
 }