summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/tools/CodeProfiling.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/tools/CodeProfiling.h')
-rw-r--r--Source/JavaScriptCore/tools/CodeProfiling.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/JavaScriptCore/tools/CodeProfiling.h b/Source/JavaScriptCore/tools/CodeProfiling.h
index 9b0f5daa3..311fcda68 100644
--- a/Source/JavaScriptCore/tools/CodeProfiling.h
+++ b/Source/JavaScriptCore/tools/CodeProfiling.h
@@ -23,8 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CodeProfiling_h
-#define CodeProfiling_h
+#pragma once
namespace WTF {
@@ -79,7 +78,4 @@ private:
static volatile CodeProfile* s_profileStack;
};
-}
-
-#endif // CodeProfiling_h
-
+} // namespace JSC