From f1c3f3044b73d890ffdfdd113b3b37ae2809d21b Mon Sep 17 00:00:00 2001
From: Nathan Binkert <nate@binkert.org>
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/mem/ruby/eventqueue/RubyEventQueue.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/mem/ruby/eventqueue/RubyEventQueue.cc')

diff --git a/src/mem/ruby/eventqueue/RubyEventQueue.cc b/src/mem/ruby/eventqueue/RubyEventQueue.cc
index eaa22ff1e..eb1f2d32b 100644
--- a/src/mem/ruby/eventqueue/RubyEventQueue.cc
+++ b/src/mem/ruby/eventqueue/RubyEventQueue.cc
@@ -61,7 +61,7 @@ RubyEventQueue::scheduleEventAbsolute(Consumer* consumer, Time timeAbs)
 }
 
 void
-RubyEventQueue::print(ostream& out) const
+RubyEventQueue::print(std::ostream& out) const
 {
     out << "[Event Queue:]";
 }
-- 
cgit v1.2.3