]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/ButtonPolicies.C
use anon namespace, somewhat better comp. handling of minipages, not quite there yet
[lyx.git] / src / frontends / ButtonPolicies.C
index bde5f93816bed603e4c7823877f18bcb2c5e0b90..89c09018b3bc87d684c7793e619d864cbbf59572 100644 (file)
@@ -24,7 +24,9 @@
 using std::endl;
 
 /// Helper function
-static inline
+namespace {
+
+inline
 void nextState(ButtonPolicy::State & state,
               ButtonPolicy::SMInput in,
               ButtonPolicy::StateMachine const & s_m,
@@ -43,6 +45,8 @@ void nextState(ButtonPolicy::State & state,
        }
 }
 
+} // namespace anon
+
 
 /*-----------------------------PreferencesPolicy-----------------------------*/