소스 검색

-removed annoying pragma

Juan Linietsky 10 년 전
부모
커밋
8347e008c2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      core/variant.h

+ 2 - 2
core/variant.h

@@ -167,7 +167,7 @@ public:
 	static String get_type_name(Variant::Type p_type);
 	static bool can_convert(Type p_type_from,Type p_type_to);
 
-#pragma runtime_checks( "", off )
+
 
 	template<class T>
 	static Type get_type_for() {
@@ -177,7 +177,7 @@ public:
 		Type r = v.get_type();
 		return r;
 	}
-#pragma runtime_checks( "", restore )
+
 
 	bool is_ref() const;
 	_FORCE_INLINE_ bool is_num() const { return type==INT || type==REAL; };