summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-13 22:03:04 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-13 22:03:04 +0200
commitc1bbd40b9e7fa2fbb5051993e729054cb54548ab (patch)
tree306c75408427e5bade9e41fbb2335c4da48adb3a /Kernel/Process.h
parent1c5677032a948073a91078e57d4d7d4ae4712d36 (diff)
downloadserenity-c1bbd40b9e7fa2fbb5051993e729054cb54548ab.zip
Kernel: Rename "descriptor" to "description" where appropriate.
Now that FileDescription is called that, variables of that type should not be called "descriptor". This is kinda wordy but we'll get used to it.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index 0042ca87c8..90b685d582 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -305,10 +305,10 @@ private:
Priority m_priority { NormalPriority };
struct FileDescriptionAndFlags {
- operator bool() const { return !!descriptor; }
+ operator bool() const { return !!description; }
void clear();
void set(Retained<FileDescription>&& d, dword f = 0);
- RetainPtr<FileDescription> descriptor;
+ RetainPtr<FileDescription> description;
dword flags { 0 };
};
Vector<FileDescriptionAndFlags> m_fds;