Add eof newlines

This commit is contained in:
Adubbz 2019-08-15 20:29:46 +10:00
parent f044c52e7d
commit c20d123f60
45 changed files with 46 additions and 47 deletions

View file

@ -86,4 +86,4 @@ namespace sts::lr::impl {
return ResultSuccess;
}
}
}

View file

@ -30,4 +30,4 @@ namespace sts::lr::impl {
Result RefreshLocationResolver(ncm::StorageId storage_id);
Result OpenAddOnContentLocationResolver(Out<std::shared_ptr<AddOnContentLocationResolverInterface>> out);
}
}

View file

@ -96,4 +96,4 @@ namespace sts::lr::impl {
}
}
}
}

View file

@ -42,4 +42,4 @@ namespace sts::lr::impl {
void ClearRedirections(u32 flags = RedirectionFlags_None);
};
}
}

View file

@ -94,4 +94,4 @@ namespace sts::lr::impl {
template<typename Key, size_t NumEntries>
using RegisteredStorages = RegisteredData<Key, ncm::StorageId, NumEntries>;
}
}

View file

@ -706,4 +706,4 @@ namespace sts::ncm::impl {
return ResultSuccess;
}
}
}

View file

@ -44,4 +44,4 @@ namespace sts::ncm::impl {
Result ActivateContentMetaDatabase(StorageId storage_id);
Result InactivateContentMetaDatabase(StorageId storage_id);
}
}

View file

@ -235,4 +235,4 @@ namespace sts::ncm::impl {
}
}
}
}

View file

@ -76,4 +76,4 @@ namespace sts::ncm::impl {
void InvalidateAll();
};
}
}

View file

@ -28,4 +28,4 @@ namespace sts::ncm::impl {
return &g_rights_id_cache;
}
}
}

View file

@ -41,4 +41,4 @@ namespace sts::ncm::impl {
RightsIdCache* GetRightsIdCache();
}
}

View file

@ -54,4 +54,4 @@ namespace sts::lr {
return ResultSuccess;
}
}
}

View file

@ -43,4 +43,4 @@ namespace sts::lr {
};
};
}
}

View file

@ -195,4 +195,4 @@ namespace sts::lr {
return ResultSuccess;
}
}
}

View file

@ -31,8 +31,7 @@ namespace sts::lr {
std::shared_ptr<ncm::IContentMetaDatabase> content_meta_database;
std::shared_ptr<ncm::IContentStorage> content_storage;
public:
ContentLocationResolverInterface(ncm::StorageId storage_id) : storage_id(storage_id) {
}
ContentLocationResolverInterface(ncm::StorageId storage_id) : storage_id(storage_id) { /* ... */ }
~ContentLocationResolverInterface();
public:
@ -81,4 +80,4 @@ namespace sts::lr {
};
};
}
}

View file

@ -98,4 +98,4 @@ namespace sts::lr {
std::abort();
}
}
}

View file

@ -98,4 +98,4 @@ namespace sts::lr {
};
};
}
}

View file

@ -36,4 +36,4 @@ namespace sts::lr {
return impl::OpenAddOnContentLocationResolver(out);
}
}
}

View file

@ -47,4 +47,4 @@ namespace sts::lr {
};
};
}
}

View file

@ -171,4 +171,4 @@ namespace sts::lr {
return ResultSuccess;
}
}
}

View file

@ -71,4 +71,4 @@ namespace sts::lr {
};
};
}
}

View file

@ -100,4 +100,4 @@ namespace sts::lr {
return ResultSuccess;
}
}
}

View file

@ -67,4 +67,4 @@ namespace sts::lr {
};
};
}
}

View file

@ -77,4 +77,4 @@ namespace sts::ncm {
return impl::InactivateContentMetaDatabase(storage_id);
}
}
}

View file

@ -72,4 +72,4 @@ namespace sts::ncm {
};
};
}
}

View file

@ -610,4 +610,4 @@ namespace sts::ncm {
return ResultSuccess;
}
}
}

View file

@ -141,4 +141,4 @@ namespace sts::ncm {
};
};
}
}

View file

@ -655,4 +655,4 @@ namespace sts::ncm {
return ResultSuccess;
}
}
}

View file

@ -112,4 +112,4 @@ namespace sts::ncm {
};
};
}
}

View file

@ -379,4 +379,4 @@ namespace sts::ncm {
return ResultSuccess;
}
}
}

View file

@ -113,4 +113,4 @@ namespace sts::ncm {
return ResultSuccess;
};
}
}

View file

@ -118,4 +118,4 @@ namespace sts::ncm {
std::abort();
}
}
}

View file

@ -118,4 +118,4 @@ namespace sts::ncm {
};
};
}
}

View file

@ -138,4 +138,4 @@ namespace sts::ncm {
std::abort();
}
}
}

View file

@ -123,4 +123,4 @@ namespace sts::ncm {
};
};
}
}

View file

@ -164,4 +164,4 @@ int main(int argc, char **argv)
sts::ncm::impl::FinalizeContentManager();
return 0;
}
}

View file

@ -90,4 +90,4 @@ namespace sts::ncm::path {
}
}
}
}

View file

@ -30,4 +30,4 @@ namespace sts::ncm::path {
void MakePlaceHolderPathFlat(char* out_path, PlaceHolderId placeholder_id, const char* root);
void MakePlaceHolderPathHashByteLayered(char* out_path, PlaceHolderId placeholder_id, const char* root);
}
}

View file

@ -87,4 +87,4 @@ namespace sts::ncm::path {
return this->path.substr(this->path.find_last_of("/") + 1);
}
}
}

View file

@ -51,4 +51,4 @@ namespace sts::ncm::path {
std::string_view GetFileName() const;
};
}
}

View file

@ -245,4 +245,4 @@ namespace sts::ncm {
return ResultNcmInvalidContentStorageOperation;
}
}
}

View file

@ -88,4 +88,4 @@ namespace sts::ncm {
};
};
}
}

View file

@ -198,4 +198,4 @@ namespace sts::ncm {
typedef void (*MakeContentPathFunc)(char* out, ContentId content_id, const char* root);
typedef void (*MakePlaceHolderPathFunc)(char* out, PlaceHolderId placeholder_id, const char* root);
}
}

View file

@ -78,4 +78,4 @@ namespace sts::ncm {
return std::optional<ContentId>(content_id);
}
}
}

View file

@ -29,4 +29,4 @@ namespace sts::ncm {
Result GetPlaceHolderIdFromDirEntry(PlaceHolderId* out, struct dirent* dir_entry);
std::optional<ContentId> GetContentIdFromString(const char* str, size_t len);
};
};