Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vfs_directory: try to fix compilation on gcc 14.1 #15579

Merged
merged 1 commit into from May 11, 2024

Conversation

Megamouse
Copy link
Contributor

New gcc seems to have an issue with the vfs_directory struct:
error: static assertion failed: template argument must be a complete class or an unbounded array

Use unique_ptr and a map instead of the existing vector construct.

maybe fixes #15577

@Megamouse Megamouse added the Refactoring Refactors or simplifies existing code label May 11, 2024
rpcs3/Emu/VFS.cpp Outdated Show resolved Hide resolved
@Megamouse Megamouse merged commit 5fb6be4 into RPCS3:master May 11, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactoring Refactors or simplifies existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Does not compile on Arch Linux with GCC 14.1
2 participants