Minor inline fixes, start CAi

This commit is contained in:
2025-05-23 03:05:25 -07:00
parent 46f074b2ed
commit 4231165ff5
20 changed files with 128 additions and 121 deletions

View File

@@ -13,9 +13,7 @@ public:
single_ptr() : x0_ptr(nullptr) {}
single_ptr(T* ptr) : x0_ptr(ptr) {}
single_ptr(const single_ptr& other) : x0_ptr(other.x0_ptr) { other.x0_ptr = nullptr; }
~single_ptr() {
delete x0_ptr;
}
~single_ptr() { delete x0_ptr; }
single_ptr& operator=(single_ptr& other) {
if (&other == this) {
return *this;