From f1c3f3044b73d890ffdfdd113b3b37ae2809d21b Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Fri, 2 Apr 2010 11:20:32 -0700 Subject: ruby: get "using namespace" out of headers In addition to obvious changes, this required a slight change to the slicc grammar to allow types with :: in them. Otherwise slicc barfs on std::string which we need for the headers that slicc generates. --- src/cpu/rubytest/RubyTester.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cpu/rubytest/RubyTester.cc') diff --git a/src/cpu/rubytest/RubyTester.cc b/src/cpu/rubytest/RubyTester.cc index b2af22a6e..3ad977b42 100644 --- a/src/cpu/rubytest/RubyTester.cc +++ b/src/cpu/rubytest/RubyTester.cc @@ -183,9 +183,9 @@ RubyTester::checkForDeadlock() } void -RubyTester::print(ostream& out) const +RubyTester::print(std::ostream& out) const { - out << "[RubyTester]" << endl; + out << "[RubyTester]" << std::endl; } RubyTester * -- cgit v1.2.3