From 9cbded8eaaffa9f7fd2790c3700decd22659547d Mon Sep 17 00:00:00 2001 From: david Date: Sat, 30 Mar 2002 12:52:55 +0000 Subject: [PATCH] * 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. --- src/Input/input.hxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Input/input.hxx b/src/Input/input.hxx index 4b9144f08..a5ff74dbe 100644 --- a/src/Input/input.hxx +++ b/src/Input/input.hxx @@ -248,6 +248,8 @@ private: MAX_MICE = 1, MAX_MOUSE_BUTTONS = 8 }; + struct mouse; + friend struct mouse; typedef vector binding_list_t; -- 2.39.5