summaryrefslogtreecommitdiff
path: root/Kernel/Thread.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-03-23 13:45:10 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-23 13:48:44 +0100
commit7d862dd5fc3a37093462d5ff187403c9ef680a7a (patch)
tree9d1edc46f76bda21366ea5105605422271560447 /Kernel/Thread.h
parent1dd71bd68f85c3263ec3a2ee4c735e9cc189af6b (diff)
downloadserenity-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.h2
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();