misc: Remove Serialize-related code in Random

The Random ser/des support has been non-existent since 2014.
Removing it will enable the Random class to be unit tested
without having a dependency on the src/sim code.
This commit is contained in:
Arthur perais
2024-09-15 20:46:00 +02:00
parent 5aa7b1ce3e
commit 4de65bbd57
2 changed files with 1 additions and 35 deletions

View File

@@ -51,14 +51,11 @@
#include "base/compiler.hh"
#include "base/types.hh"
#include "sim/serialize.hh"
namespace gem5
{
class Checkpoint;
class Random : public Serializable
class Random
{
public:
@@ -115,9 +112,6 @@ class Random : public Serializable
std::uniform_int_distribution<T> dist(min, max);
return dist(gen);
}
void serialize(CheckpointOut &cp) const override;
void unserialize(CheckpointIn &cp) override;
};
/**