* src/Input/input.hxx
MSVC fix from Bernie Bright: You can keep the enum private if you add the following declarations immediately afterwards: struct mouse; friend struct mouse; It seems that MSVC doesn't grant the nested mouse decl. any special access privileges to its surrounding class.
This commit is contained in:
parent
faf2fa91d2
commit
9cbded8eaa
1 changed files with 2 additions and 0 deletions
|
@ -248,6 +248,8 @@ private:
|
|||
MAX_MICE = 1,
|
||||
MAX_MOUSE_BUTTONS = 8
|
||||
};
|
||||
struct mouse;
|
||||
friend struct mouse;
|
||||
|
||||
typedef vector<FGBinding *> binding_list_t;
|
||||
|
||||
|
|
Loading…
Reference in a new issue