1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 19:15:09 +00:00

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
parent d5189b6677
commit 3c1ca61e74
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 };