mirror of https://github.com/yuzu-mirror/yuzu
yuzu/configuration/configure_input: Default destructor in the cpp file
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.pull/8/head
parent
7ce17b2cf6
commit
f3253d0f14
Loading…
Reference in New Issue