summaryrefslogtreecommitdiff
path: root/AK/TemporaryFile.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-31 17:31:23 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-31 17:31:23 +0100
commitffab6897aa1bc668f98130b4bb485a4602509938 (patch)
treea4d1933fc390ea0803bb3826353262fbf06b885f /AK/TemporaryFile.cpp
parent27fa09aee492e6c8da9168d24f0b1d2c5d2162d5 (diff)
downloadserenity-ffab6897aa1bc668f98130b4bb485a4602509938.zip
Big, possibly complete sweep of naming changes.
Diffstat (limited to 'AK/TemporaryFile.cpp')
-rw-r--r--AK/TemporaryFile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/AK/TemporaryFile.cpp b/AK/TemporaryFile.cpp
index 9d16ee54ea..3ed991c01f 100644
--- a/AK/TemporaryFile.cpp
+++ b/AK/TemporaryFile.cpp
@@ -11,14 +11,14 @@ TemporaryFile::TemporaryFile()
int fd = mkstemp(nameBuffer);
if (fd != -1) {
m_stream = fdopen(fd, "w+");
- m_fileName = nameBuffer;
+ m_file_name = nameBuffer;
}
}
TemporaryFile::~TemporaryFile()
{
- if (isValid()) {
- unlink(m_fileName.characters());
+ if (is_valid()) {
+ unlink(m_file_name.characters());
fclose(m_stream);
}
}