]> granicus.if.org Git - icinga2/blobdiff - lib/mysql_shim/mysqlinterface.cpp
Merge pull request #6577 from Icinga/fix/setup-api-including-users-file
[icinga2] / lib / mysql_shim / mysqlinterface.cpp
index bbc9abea8220a82826962071b186e06a87f66636..54188b6eb7c0f6043e7353cc64186b128702b506 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://icinga.com/)      *
  *                                                                            *
  * This program is free software; you can redistribute it and/or              *
  * modify it under the terms of the GNU General Public License                *
@@ -21,9 +21,9 @@
 
 using namespace icinga;
 
-struct MysqlInterfaceImpl : public MysqlInterface
+struct MysqlInterfaceImpl final : public MysqlInterface
 {
-       void Destroy(void) override
+       void Destroy() override
        {
                delete this;
        }
@@ -119,13 +119,13 @@ struct MysqlInterfaceImpl : public MysqlInterface
                return mysql_store_result(mysql);
        }
 
-       unsigned int thread_safe(void) const override
+       unsigned int thread_safe() const override
        {
                return mysql_thread_safe();
        }
 };
 
-MysqlInterface *create_mysql_shim(void)
+MysqlInterface *create_mysql_shim()
 {
        return new MysqlInterfaceImpl();
 }