]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Cosmetic.
authorRoland McGrath <roland@redhat.com>
Thu, 2 Jul 2009 13:19:16 +0000 (06:19 -0700)
committerRoland McGrath <roland@redhat.com>
Thu, 2 Jul 2009 13:19:16 +0000 (06:19 -0700)
libdw/c++/dwarf_output
libdw/c++/subr.hh

index e13a15f2ae0ca293790b1e1dc58dd21b129d1864..c224d362376fcbbc573a89c779544da5e926f1a7 100644 (file)
@@ -296,7 +296,7 @@ namespace elfutils
        constructs output::value_type (input::value_type v, collector).  */
     template<typename input, typename output>
     static inline typename subr::argifier<input, output,
-                                         dwarf_output_collector *>::wrapped
+                                         dwarf_output_collector *>::result_type
     collectify (const typename input::const_iterator &in,
                dwarf_output_collector *c)
     {
index 7a799eeb82247a39707d3921049c4855cddb1f59..d1b4c7062a0e67d02f66a4579d4cc3c11cb83625 100644 (file)
@@ -610,7 +610,7 @@ namespace elfutils
     template<typename input, typename output, typename arg_type>
     struct argifier
       : public std::unary_function<typename input::const_iterator,
-                                  typename output::iterator>
+                                  typename output::iterator> // not really
     {
       typedef typename input::const_iterator inny;
       typedef typename output::iterator outty;
@@ -635,16 +635,16 @@ namespace elfutils
        : _m_maker (c)
       {}
 
-      typedef subr::wrapped_input_iterator<input, maker> wrapped;
+      typedef subr::wrapped_input_iterator<input, maker> result_type;
 
-      inline wrapped operator () (const inny &i)
+      inline result_type operator () (const inny &i)
       {
-       return wrapped (i, _m_maker);
+       return result_type (i, _m_maker);
       }
     };
 
     template<typename input, typename output, typename arg_type>
-    static inline typename argifier<input, output, arg_type>::wrapped
+    static inline typename argifier<input, output, arg_type>::result_type
     argify (const typename input::const_iterator &in, const arg_type &arg)
     {
       return argifier<input, output, arg_type> (arg) (in);
@@ -680,16 +680,16 @@ namespace elfutils
        : _m_maker (c)
       {}
 
-      typedef subr::wrapped_input_iterator<input, maker> wrapped;
+      typedef subr::wrapped_input_iterator<input, maker> const_iterator;
 
-      inline wrapped operator () (const inny &i)
+      inline const_iterator operator () (const inny &i)
       {
-       return wrapped (i, _m_maker);
+       return const_iterator (i, _m_maker);
       }
     };
 
     template<typename input, typename output, typename arg_type>
-    static inline typename argifier2nd<input, output, arg_type>::wrapped
+    static inline typename argifier2nd<input, output, arg_type>::const_iterator
     argify2nd (const typename input::const_iterator &in, const arg_type &arg)
     {
       return argifier2nd<input, output, arg_type> (arg) (in);