]> granicus.if.org Git - icinga2/blobdiff - test/icinga-legacytimeperiod.cpp
Merge pull request #6544 from gunnarbeutner/fix/deprecated-strstream-header
[icinga2] / test / icinga-legacytimeperiod.cpp
index cf5212b88a74ae444562f6626a964a5b487308e3..f178934c943bcad4277ee75a6fa0029ecc110478 100644 (file)
@@ -1,6 +1,6 @@
 /******************************************************************************
  * Icinga 2                                                                   *
- * Copyright (C) 2012-2016 Icinga Development Team (https://www.icinga.org/)  *
+ * Copyright (C) 2012-2018 Icinga Development Team (https://www.icinga.org/)  *
  *                                                                            *
  * This program is free software; you can redistribute it and/or              *
  * modify it under the terms of the GNU General Public License                *
@@ -28,7 +28,7 @@ struct GlobalTimezoneFixture
 {
        char *tz;
 
-       GlobalTimezoneFixture(void)
+       GlobalTimezoneFixture()
        {
                tz = getenv("TZ");
 #ifdef _WIN32
@@ -39,7 +39,7 @@ struct GlobalTimezoneFixture
                tzset();
        }
 
-       ~GlobalTimezoneFixture(void)
+       ~GlobalTimezoneFixture()
        {
 #ifdef _WIN32
                if (tz)