summaryrefslogtreecommitdiff
path: root/src/cpu/rubytest/RubyTester.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/rubytest/RubyTester.cc')
-rw-r--r--src/cpu/rubytest/RubyTester.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/rubytest/RubyTester.cc b/src/cpu/rubytest/RubyTester.cc
index 3ad977b42..036e511bc 100644
--- a/src/cpu/rubytest/RubyTester.cc
+++ b/src/cpu/rubytest/RubyTester.cc
@@ -59,7 +59,7 @@ RubyTester::init()
{
assert(ports.size() > 0);
- m_last_progress_vector.setSize(ports.size());
+ m_last_progress_vector.resize(ports.size());
for (int i = 0; i < m_last_progress_vector.size(); i++) {
m_last_progress_vector[i] = 0;
}