diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-23 13:45:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-23 13:48:44 +0100 |
commit | 7d862dd5fc3a37093462d5ff187403c9ef680a7a (patch) | |
tree | 9d1edc46f76bda21366ea5105605422271560447 /Kernel/Thread.h | |
parent | 1dd71bd68f85c3263ec3a2ee4c735e9cc189af6b (diff) | |
download | serenity-7d862dd5fc3a37093462d5ff187403c9ef680a7a.zip |
AK: Reduce header dependency graph of String.h
String.h no longer pulls in StringView.h. We do this by moving a bunch
of String functions out-of-line.
Diffstat (limited to 'Kernel/Thread.h')
-rw-r--r-- | Kernel/Thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Thread.h b/Kernel/Thread.h index 1d0e9e0e50..aeebdc462f 100644 --- a/Kernel/Thread.h +++ b/Kernel/Thread.h @@ -100,7 +100,7 @@ public: Vector<FlatPtr> raw_backtrace(FlatPtr ebp) const; const String& name() const { return m_name; } - void set_name(StringView s) { m_name = s; } + void set_name(const StringView& s) { m_name = s; } void finalize(); |