refactor: xo-gc: + GCObjectVisitor.generation_of()
Concession to narrow MutationLogStore to only use GCObjectVisitor instead of assuming X1Collector.
This commit is contained in:
parent
60dfeaaaaf
commit
b794f225b2
6 changed files with 36 additions and 7 deletions
|
|
@ -16,7 +16,8 @@ namespace xo {
|
|||
/** @class generation
|
||||
* @brief type-safe generation number
|
||||
**/
|
||||
struct Generation {
|
||||
class Generation {
|
||||
public:
|
||||
using value_type = std::uint32_t;
|
||||
|
||||
constexpr Generation() = default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue