Fix minor issues

This commit is contained in:
2025-09-12 12:13:50 -04:00
parent 543447971f
commit 2b8f095d27
2 changed files with 3 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ struct ControlBlock {
*
* Usage:
* - Use make_ref<T>() to create new objects
* - Copy/assign to share ownership
* - Use copy() method for explicit sharing of ownership
* - Use get(), operator*, operator-> to access the object
* - Use operator bool() to check if valid
* - Use reset() to release ownership
@@ -297,7 +297,8 @@ private:
* that might be destroyed by other threads.
*
* Usage:
* - Create from Ref<T> to observe without owning
* - Create from Ref<T> using as_weak() to observe without owning
* - Use copy() method for explicit copying
* - Use lock() to attempt promotion to Ref<T>
* - Returns empty Ref<T> if object was already destroyed
* - Use reset() to stop observing