summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/PropertyOffset.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/PropertyOffset.h')
-rw-r--r--Source/JavaScriptCore/runtime/PropertyOffset.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/runtime/PropertyOffset.h b/Source/JavaScriptCore/runtime/PropertyOffset.h
index dc0297bf7..c32d37fc7 100644
--- a/Source/JavaScriptCore/runtime/PropertyOffset.h
+++ b/Source/JavaScriptCore/runtime/PropertyOffset.h
@@ -23,10 +23,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef PropertyOffset_h
-#define PropertyOffset_h
+#pragma once
-#include <wtf/Platform.h>
#include <wtf/StdLibExtras.h>
namespace JSC {
@@ -144,5 +142,3 @@ inline PropertyOffset offsetForPropertyNumber(int propertyNumber, int inlineCapa
}
} // namespace JSC
-
-#endif // PropertyOffset_h