From 006818aeea6176c4500c5f7414e9f2a822c77062 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 10 Jun 2010 23:17:07 -0700 Subject: ruby: get rid of Vector and use STL add a couple of helper functions to base for deleteing all pointers in a container and outputting containers to a stream --- src/cpu/rubytest/CheckTable.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/rubytest/CheckTable.cc') diff --git a/src/cpu/rubytest/CheckTable.cc b/src/cpu/rubytest/CheckTable.cc index 3b94de315..7588007c9 100644 --- a/src/cpu/rubytest/CheckTable.cc +++ b/src/cpu/rubytest/CheckTable.cc @@ -102,7 +102,7 @@ CheckTable::addCheck(const Address& address) // Insert it once per byte m_lookup_map_ptr->add(Address(address.getAddress() + i), check_ptr); } - m_check_vector.insertAtBottom(check_ptr); + m_check_vector.push_back(check_ptr); } Check* -- cgit v1.2.3