-removed annoying pragma
This commit is contained in:
parent
c8b2a5f64a
commit
8347e008c2
1 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ public:
|
||||||
static String get_type_name(Variant::Type p_type);
|
static String get_type_name(Variant::Type p_type);
|
||||||
static bool can_convert(Type p_type_from,Type p_type_to);
|
static bool can_convert(Type p_type_from,Type p_type_to);
|
||||||
|
|
||||||
#pragma runtime_checks( "", off )
|
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
static Type get_type_for() {
|
static Type get_type_for() {
|
||||||
|
@ -177,7 +177,7 @@ public:
|
||||||
Type r = v.get_type();
|
Type r = v.get_type();
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
#pragma runtime_checks( "", restore )
|
|
||||||
|
|
||||||
bool is_ref() const;
|
bool is_ref() const;
|
||||||
_FORCE_INLINE_ bool is_num() const { return type==INT || type==REAL; };
|
_FORCE_INLINE_ bool is_num() const { return type==INT || type==REAL; };
|
||||||
|
|
Loading…
Reference in a new issue