mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-18 01:01:57 -04:00
Fix
This commit is contained in:
parent
828688c08c
commit
31f1ef7923
@ -114,9 +114,9 @@ public:
|
||||
}
|
||||
|
||||
void reset(pointer_type p = pointer_type()){
|
||||
if(array!= p){
|
||||
if(array != p){
|
||||
delete[] array;
|
||||
array= nullptr;
|
||||
array= p;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user