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/mem/ruby/system/PersistentTable.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mem/ruby/system/PersistentTable.cc') diff --git a/src/mem/ruby/system/PersistentTable.cc b/src/mem/ruby/system/PersistentTable.cc index 979a0d4ab..64730ee29 100644 --- a/src/mem/ruby/system/PersistentTable.cc +++ b/src/mem/ruby/system/PersistentTable.cc @@ -29,6 +29,8 @@ #include "mem/gems_common/util.hh" #include "mem/ruby/system/PersistentTable.hh" +using namespace std; + // randomize so that handoffs are not locality-aware #if 0 int persistent_randomize[] = {0, 4, 8, 12, 1, 5, 9, 13, 2, 6, -- cgit v1.2.3