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

@ -25,7 +25,7 @@ namespace ams::lr {
private:
sf::SharedPointer<ILocationResolver> m_interface;
public:
LocationResolver() { /* ... */ }
LocationResolver() : m_interface(nullptr) { /* ... */ }
explicit LocationResolver(sf::SharedPointer<ILocationResolver> intf) : m_interface(intf) { /* ... */ }
LocationResolver(LocationResolver &&rhs) {