ruby: remove unused toString() from AbstractController
This commit is contained in:
@@ -66,8 +66,6 @@ class AbstractController : public ClockedObject, public Consumer
|
||||
void unblock(Address);
|
||||
|
||||
virtual MessageBuffer* getMandatoryQueue() const = 0;
|
||||
virtual const std::string toString() const = 0; // returns text version of
|
||||
// controller type
|
||||
virtual AccessPermission getAccessPermission(const Address& addr) = 0;
|
||||
virtual DataBlock& getDataBlock(const Address& addr) = 0;
|
||||
|
||||
|
||||
@@ -253,7 +253,6 @@ class $c_ident : public AbstractController
|
||||
static int getNumControllers();
|
||||
void init();
|
||||
MessageBuffer* getMandatoryQueue() const;
|
||||
const std::string toString() const;
|
||||
|
||||
void print(std::ostream& out) const;
|
||||
void wakeup();
|
||||
@@ -807,12 +806,6 @@ $c_ident::getSequencer() const
|
||||
return $seq_ident;
|
||||
}
|
||||
|
||||
const string
|
||||
$c_ident::toString() const
|
||||
{
|
||||
return "$c_ident";
|
||||
}
|
||||
|
||||
void
|
||||
$c_ident::print(ostream& out) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user