stratosphere: In-class initialize members

Same thing, less code, less boilerplate.
This commit is contained in:
Léo Lam authored and SciresM committed 2018-07-10 09:38:18 -07:00
1 parent 5b3e8e1c5d
commit e088a2f414
8 files changed
+42 -54

No files matched your search

@@ -12,11 +12,11 @@ enum class FspSrvCmd {
class FsMitMService : public IMitMServiceObject {
private:
bool has_initialized;
u64 init_pid;
bool has_initialized = false;
u64 init_pid = 0;
std::shared_ptr<IStorageInterface> romfs_storage;
public:
FsMitMService(Service *s) : IMitMServiceObject(s), has_initialized(false), init_pid(0) {
FsMitMService(Service *s) : IMitMServiceObject(s) {
/* ... */
}