summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/PutDirectIndexMode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/PutDirectIndexMode.h')
-rw-r--r--Source/JavaScriptCore/runtime/PutDirectIndexMode.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/runtime/PutDirectIndexMode.h b/Source/JavaScriptCore/runtime/PutDirectIndexMode.h
index 3eb3f5818..606c96282 100644
--- a/Source/JavaScriptCore/runtime/PutDirectIndexMode.h
+++ b/Source/JavaScriptCore/runtime/PutDirectIndexMode.h
@@ -23,14 +23,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef PutDirectIndexMode_h
-#define PutDirectIndexMode_h
+#pragma once
namespace JSC {
enum PutDirectIndexMode { PutDirectIndexLikePutDirect, PutDirectIndexShouldNotThrow, PutDirectIndexShouldThrow };
} // namespace JSC
-
-#endif // PutDirectIndexMode_h
-