DragonSpirit
|
6f8ede035f
|
refactor: phase 6 cleanup — RAII handles and io::restore split
- AccountProfileHandle RAII wrapper in handles.hpp; applied in
account.cpp (getUser, iconPath) replacing manual accountProfileClose
- FILE* in iconPath replaced with existing FileHandle RAII wrapper
- io::restore split into clearSaveRoot + extractAndCommit static helpers;
public signature unchanged
- sendAll/recvAll kept as bool — callers don't propagate the error string,
Result<void> would add noise without benefit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-05-03 14:56:38 +03:00 |
|