Kernel: Use KString instead of String in InodeWatcher::Event's path

This commit is contained in:
Idan Horowitz 2022-01-21 12:56:00 +02:00 committed by Andreas Kling
commit 3c1ca61e74
Notes: sideshowbarker 2024-07-17 20:31:32 +09:00
2 changed files with 10 additions and 7 deletions

View file

@ -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 };