mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 16:01:17 +00:00
Change a forward declared type to a struct.
The issue was spotted by CLang.
This commit is contained in:
parent
64caf0dc69
commit
8a3fbdf30a
@ -41,7 +41,7 @@
|
||||
#include "wesconfig.h"
|
||||
|
||||
class config;
|
||||
class tconfig_implementation;
|
||||
struct tconfig_implementation;
|
||||
class vconfig;
|
||||
struct lua_State;
|
||||
|
||||
@ -53,7 +53,7 @@ std::ostream &operator << (std::ostream &, const config &);
|
||||
class config
|
||||
{
|
||||
friend bool operator==(const config& a, const config& b);
|
||||
friend class tconfig_implementation;
|
||||
friend struct tconfig_implementation;
|
||||
|
||||
static config invalid;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user