]> git.lyx.org Git - lyx.git/blobdiff - src/support/translator.h
make doc++ able to generate the source documentation for lyx
[lyx.git] / src / support / translator.h
index 7c6fcdf360e17e5d508c76db6180a77af66e4671..d150c17900e61f8ecae2d1fa64f1a2c9ae0f2cf3 100644 (file)
@@ -57,6 +57,8 @@ class Translator {
 public:
     typedef T1 first_argument_type;
     typedef T2 second_argument_type;
+    typedef std::pair<T1, T2> MapPair;
+    typedef std::vector<MapPair> Map;
 
     /// c-tor.
     Translator(T1 const & t1, T2 const & t2) 
@@ -117,14 +119,10 @@ public:
     }
 
 private:
-    typedef std::pair<T1, T2> MapPair;
-    typedef std::vector<MapPair> Map;
-
     Map map;
 
-    const T1 default_t1;
-    const T2 default_t2;
-
+    T1 const default_t1;
+    T2 const default_t2;
 };
 
 #endif