mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
Kernel: Use KString instead of String in InodeWatcher::Event's path
This commit is contained in:
parent
d5189b6677
commit
3c1ca61e74
Notes:
sideshowbarker
2024-07-17 20:31:32 +09:00
Author: https://github.com/IdanHo
Commit: 3c1ca61e74
Pull-request: https://github.com/SerenityOS/serenity/pull/12037
2 changed files with 10 additions and 7 deletions
|
@ -69,7 +69,7 @@ private:
|
|||
struct Event {
|
||||
int wd { 0 };
|
||||
InodeWatcherEvent::Type type { InodeWatcherEvent::Type::Invalid };
|
||||
String path;
|
||||
OwnPtr<KString> path;
|
||||
};
|
||||
CircularQueue<Event, 32> m_queue;
|
||||
Checked<int> m_wd_counter { 1 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue