]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
dwarfint: Nits
authorPetr Machata <pmachata@redhat.com>
Thu, 7 Oct 2010 02:54:37 +0000 (04:54 +0200)
committerPetr Machata <pmachata@redhat.com>
Thu, 7 Oct 2010 02:54:37 +0000 (04:54 +0200)
dwarflint/dwarf_version-imp.cc
dwarflint/dwarf_version-imp.hh

index 01d05df3b95cb37b40485cc418bba93fef906c01..9fd0449a24f3bb3f19db5d585eecf913b20d0ee0 100644 (file)
@@ -29,15 +29,15 @@ template <class T>
 void
 dwver_index_table<T>::add (T const &emt)
 {
-  _m_data.insert (std::make_pair (emt.name (), emt));
+  _m_table.insert (std::make_pair (emt.name (), emt));
 }
 
 template <class T>
 T const *
 dwver_index_table<T>::get (int f) const
 {
-  typename _map_t::const_iterator it = _m_data.find (f);
-  if (it != _m_data.end ())
+  typename _table_t::const_iterator it = _m_table.find (f);
+  if (it != _m_table.end ())
     return &it->second;
   else
     return NULL;
index 6f4fc8bd57f3c62633c9389e2f37fa23417d7e81..70ad40279bc78958e363b802dbcb56984ba588d8 100644 (file)
 template <class T>
 class dwver_index_table
 {
-  typedef std::map<int, T> _map_t;
-  _map_t _m_data;
+  typedef std::map<int, T> _table_t;
+  _table_t _m_table;
 
 protected:
-  void add (T const &f);
+  void add (T const &emt);
 
 public:
-  T const *get (int f) const;
+  T const *get (int name) const;
 };
 
 typedef dwver_index_table<form> form_table;