mirror of
https://github.com/PabloMK7/citra.git
synced 2025-11-30 04:18:47 +00:00
The previous code could potentially be a compilation issue waiting to occur, given we forward declare the type for a std::unique_ptr. If the complete definition of the forward declared type isn't visible in a translation unit that the class is used in, then it would fail to compile. Defaulting the destructor in a cpp file ensures the std::unique_ptr's destructor is only invoked where its complete type is known. |
||
|---|---|---|
| .. | ||
| android | ||
| audio_core | ||
| citra | ||
| citra_qt | ||
| common | ||
| core | ||
| dedicated_room | ||
| input_common | ||
| network | ||
| tests | ||
| video_core | ||
| web_service | ||
| .clang-format | ||
| CMakeLists.txt | ||