summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileProfilingData.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefileProfilingData.h')
-rw-r--r--Source/cmMakefileProfilingData.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmMakefileProfilingData.h b/Source/cmMakefileProfilingData.h
index 1babd97..a86764a 100644
--- a/Source/cmMakefileProfilingData.h
+++ b/Source/cmMakefileProfilingData.h
@@ -1,7 +1,6 @@
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
-#ifndef cmMakefileProfilingData_h
-#define cmMakefileProfilingData_h
+#pragma once
#include <memory>
#include <string>
@@ -12,7 +11,7 @@ class StreamWriter;
}
class cmListFileContext;
-struct cmListFileFunction;
+class cmListFileFunction;
class cmMakefileProfilingData
{
@@ -26,4 +25,3 @@ private:
cmsys::ofstream ProfileStream;
std::unique_ptr<Json::StreamWriter> JsonWriter;
};
-#endif