mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
UserspaceEmulator: Fix after add_positional_argument API change :^)
Get UE compiling again after the Vector<String> API was changed to Vector<StringView>.
This commit is contained in:
parent
957f54d96f
commit
f807796380
3 changed files with 5 additions and 5 deletions
|
@ -31,7 +31,7 @@ class Emulator {
|
|||
public:
|
||||
static Emulator& the();
|
||||
|
||||
Emulator(String const& executable_path, Vector<String> const& arguments, Vector<String> const& environment);
|
||||
Emulator(String const& executable_path, Vector<StringView> const& arguments, Vector<String> const& environment);
|
||||
|
||||
void set_profiling_details(bool should_dump_profile, size_t instruction_interval, OutputFileStream* profile_stream, NonnullOwnPtrVector<String>* profiler_strings, Vector<int>* profiler_string_id_map)
|
||||
{
|
||||
|
@ -113,7 +113,7 @@ public:
|
|||
|
||||
private:
|
||||
const String m_executable_path;
|
||||
const Vector<String> m_arguments;
|
||||
const Vector<StringView> m_arguments;
|
||||
const Vector<String> m_environment;
|
||||
|
||||
SoftMMU m_mmu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue