mirror of
https://github.com/thunderbrewhq/common.git
synced 2025-12-12 11:12:29 +00:00
feat(instance): add TExtraInstanceRecyclable
This commit is contained in:
parent
c90974e2cd
commit
684f7096c1
2 changed files with 14 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef COMMON_INSTANCE_HPP
|
||||
#define COMMON_INSTANCE_HPP
|
||||
|
||||
#include "common/instance/TExtraInstanceRecyclable.hpp"
|
||||
#include "common/instance/TInstanceId.hpp"
|
||||
#include "common/instance/TSingletonInstanceId.hpp"
|
||||
|
||||
|
|
|
|||
13
common/instance/TExtraInstanceRecyclable.hpp
Normal file
13
common/instance/TExtraInstanceRecyclable.hpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef COMMON_INSTANCE_T_EXTRA_INSTANCE_RECYCLABLE_HPP
|
||||
#define COMMON_INSTANCE_T_EXTRA_INSTANCE_RECYCLABLE_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
template <class T>
|
||||
class TExtraInstanceRecyclable {
|
||||
public:
|
||||
// Member variables
|
||||
uint32_t m_recycleBytes;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue