ncm: hot take, uninitialized data bad

This commit is contained in:
Michael Scire
2022-03-22 14:02:14 -07:00
committed by SciresM
parent dfcb5005d2
commit a89c5dd5d7
18 changed files with 36 additions and 36 deletions

View File

@@ -23,7 +23,7 @@ namespace ams::ncm {
private:
sf::SharedPointer<IContentStorage> m_interface;
public:
ContentStorage() { /* ... */ }
ContentStorage() : m_interface(nullptr) { /* ... */ }
explicit ContentStorage(sf::SharedPointer<IContentStorage> intf) : m_interface(intf) { /* ... */ }
ContentStorage(ContentStorage &&rhs) {