summaryrefslogtreecommitdiff
path: root/src/mem/mem_object.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-08-11 12:22:17 -0700
committerNathan Binkert <nate@binkert.org>2008-08-11 12:22:17 -0700
commit9cf8ad3a17894c482968b5055e72f5434740f1f2 (patch)
treec01643645476f4c6b4e382c788e2d6f72242b85a /src/mem/mem_object.hh
parentee62a0fec8e63f45f816c61ab9fb28aba7414185 (diff)
downloadgem5-9cf8ad3a17894c482968b5055e72f5434740f1f2.tar.xz
params: Get rid of the remnants of the old style parameter configuration stuff.
Diffstat (limited to 'src/mem/mem_object.hh')
-rw-r--r--src/mem/mem_object.hh13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/mem/mem_object.hh b/src/mem/mem_object.hh
index 33b56dfd4..b8bf4b939 100644
--- a/src/mem/mem_object.hh
+++ b/src/mem/mem_object.hh
@@ -48,17 +48,10 @@ class MemObject : public SimObject
{
public:
typedef MemObjectParams Params;
- MemObject(const Params *params);
-
- const Params *
- params() const
- {
- return dynamic_cast<const Params *>(_params);
- }
+ const Params *params() const
+ { return dynamic_cast<const Params *>(_params); }
- protected:
- // static: support for old-style constructors (call manually)
- static Params *makeParams(const std::string &name);
+ MemObject(const Params *params);
public:
/** Additional function to return the Port of a memory object. */