mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-26 04:02:27 +00:00
AK: Remove unnecessary casts to size_t, after Vector changes
Now that Vector uses size_t, we can remove a whole bunch of redundant casts to size_t.
This commit is contained in:
parent
fee20bd8de
commit
22d0a6d92f
Notes:
sideshowbarker
2024-07-19 08:57:27 +09:00
Author: https://github.com/awesomekling
Commit: 22d0a6d92f
15 changed files with 60 additions and 57 deletions
|
@ -122,7 +122,7 @@ int main(int argc, char* argv[])
|
|||
return;
|
||||
}
|
||||
auto buffer = file->read_all();
|
||||
StringView source { (const char*)buffer.data(), (size_t)buffer.size() };
|
||||
StringView source { (const char*)buffer.data(), buffer.size() };
|
||||
|
||||
MDDocument md_document;
|
||||
bool success = md_document.parse(source);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue