/******************************************************************************
* 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 *
using namespace icinga;
-struct MysqlInterfaceImpl : public MysqlInterface
+struct MysqlInterfaceImpl final : public MysqlInterface
{
- void Destroy(void) override
+ void Destroy() override
{
delete this;
}
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();
}