Updated storage entity id system
This commit is contained in:
parent
b0edbda4fe
commit
4f1b0346c6
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
unsigned long long storage_entity::__global_id = 0;
|
||||
|
||||
storage_entity::storage_entity(unsigned int capacity) : _capacity(capacity) {
|
||||
this->_id = storage_entity::__global_id++;
|
||||
this->_id = ++storage_entity::__global_id;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue