]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.h
Angus insetindex patch + protect patch from Dekel
[lyx.git] / src / LyXAction.h
index a5e65c895d3bc1832cdb085b4b2e8d58157d5b59..4fadb5c04840c4e8c2367096ab60d45c0022ae7a 100644 (file)
@@ -7,6 +7,7 @@
 #endif
 
 #include <map>
+
 #include "commandtags.h"
 #include "LString.h"
 
@@ -28,21 +29,21 @@ private:
        };
 public:
        ///
-       typedef map<string, kb_action, less<string> > func_map;
+       typedef std::map<string, kb_action> func_map;
        ///
-       typedef map<kb_action, func_info, less<kb_action> > info_map;
+       typedef std::map<kb_action, func_info> info_map;
        ///
-       typedef map<unsigned int, pseudo_func, less<unsigned int> > pseudo_map;
+       typedef std::map<unsigned int, pseudo_func> pseudo_map;
        ///
-       typedef map<string, unsigned int, less<string> > arg_item;
+       typedef std::map<string, unsigned int> arg_item;
        ///
-       typedef map<kb_action, arg_item, less<kb_action> > arg_map;
+       typedef std::map<kb_action, arg_item> arg_map;
 
        ///
        enum func_attrib {
                /// nothing special about this func
                Noop = 0,
-               /// can not be used in RO mode (perhaps this should change)
+               /// can be used in RO mode (perhaps this should change)
                ReadOnly = 1, // ,
                 /// Can be used when there is no document open
                 NoBuffer = 2,
@@ -125,5 +126,4 @@ bool LyXAction::isPseudoAction(int a) const
        return a > int(LFUN_LASTACTION); 
 }
      
-
 #endif