[Glacier] Update String to be non-copyable by default.
This commit is contained in:
parent
ced89834de
commit
337126cabb
10 changed files with 39 additions and 42 deletions
|
|
@ -107,7 +107,7 @@ void DumpModules() {
|
|||
#endif
|
||||
}
|
||||
|
||||
const limine_file& GetInitProgram(glcr::String path) {
|
||||
const limine_file& GetInitProgram(const glcr::String& path) {
|
||||
const limine_module_response& resp = boot::GetModules();
|
||||
for (uint64_t i = 0; i < resp.module_count; i++) {
|
||||
const limine_file& file = *resp.modules[i];
|
||||
|
|
@ -115,7 +115,7 @@ const limine_file& GetInitProgram(glcr::String path) {
|
|||
return file;
|
||||
}
|
||||
}
|
||||
panic("Program not found: {}", path);
|
||||
panic("Program not found: {}", path.view());
|
||||
UNREACHABLE
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue