Move command line handling into a module
This commit is contained in:
@@ -50,16 +50,5 @@ namespace elna::boot
|
||||
: globals(elna::boot::builtin_symbol_table()), custom(custom)
|
||||
{
|
||||
}
|
||||
|
||||
const char *allocate_path(const std::filesystem::path path)
|
||||
{
|
||||
std::size_t current_size = this->allocated_paths.size();
|
||||
this->allocated_paths += path.native() + '\0';
|
||||
|
||||
return this->allocated_paths.data() + current_size;
|
||||
}
|
||||
|
||||
private:
|
||||
std::string allocated_paths;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user