mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 10:55:45 +00:00
fsmitm: Cleanup and modernize fsmitm port
This commit is contained in:
parent
ba0873d33c
commit
b3c2ec362b
22 changed files with 379 additions and 379 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <string_view>
|
||||
|
||||
|
@ -15,7 +16,7 @@ template <u8 value>
|
|||
class StaticVfsFile : public VfsFile {
|
||||
public:
|
||||
explicit StaticVfsFile(size_t size = 0, std::string name = "", VirtualDir parent = nullptr)
|
||||
: size(size), name(name), parent(parent) {}
|
||||
: size(size), name(std::move(name)), parent(std::move(parent)) {}
|
||||
|
||||
std::string GetName() const override {
|
||||
return name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue