xo-gc: nit: prefer class ACollector to struct.
This commit is contained in:
parent
14c94257df
commit
192b162304
3 changed files with 4 additions and 3 deletions
|
|
@ -14,7 +14,7 @@
|
|||
namespace1: "xo",
|
||||
namespace2: "mm",
|
||||
pretext: [
|
||||
"namespace xo { namespace mm { struct ACollector; }}",
|
||||
"namespace xo { namespace mm { class ACollector; }}",
|
||||
],
|
||||
facet: "GCObject",
|
||||
detail_subdir: "detail",
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@ namespace xo {
|
|||
*
|
||||
* A collector implementation will also support the @ref AAllocator facet, see also
|
||||
**/
|
||||
struct ACollector {
|
||||
class ACollector {
|
||||
public:
|
||||
using typeseq = xo::facet::typeseq;
|
||||
using size_type = std::size_t;
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
#include <xo/facet/facet_implementation.hpp>
|
||||
#include <xo/facet/typeseq.hpp>
|
||||
|
||||
namespace xo { namespace mm { struct ACollector; }}
|
||||
namespace xo { namespace mm { class ACollector; }}
|
||||
|
||||
namespace xo {
|
||||
namespace mm {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue