Avoids unnecessary reference count increments and decrements. In one case, we don't need to make a shared_ptr copy at all, just to call a member function. |
||
|---|---|---|
| .. | ||
| kernel | ||
| service | ||
| ipc.h | ||
| ipc_helpers.h | ||
| lock.cpp | ||
| lock.h | ||
| result.h | ||
| romfs.cpp | ||
| romfs.h | ||
Avoids unnecessary reference count increments and decrements. In one case, we don't need to make a shared_ptr copy at all, just to call a member function. |
||
|---|---|---|
| .. | ||
| kernel | ||
| service | ||
| ipc.h | ||
| ipc_helpers.h | ||
| lock.cpp | ||
| lock.h | ||
| result.h | ||
| romfs.cpp | ||
| romfs.h | ||