Update __stl__.h

Update compiler.h

Update __stl__.h
This commit is contained in:
blueloveTH 2022-12-04 17:43:11 +08:00
parent 248a49ffb4
commit 9345ede748
2 changed files with 1 additions and 3 deletions

View File

@ -2,8 +2,6 @@
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning (disable:4267) #pragma warning (disable:4267)
#pragma warning (disable:4244)
#pragma warning (disable:4101)
#define _CRT_NONSTDC_NO_DEPRECATE #define _CRT_NONSTDC_NO_DEPRECATE
#endif #endif

View File

@ -165,7 +165,7 @@ public:
} }
if (size != m.length()) throw std::runtime_error("length mismatch"); if (size != m.length()) throw std::runtime_error("length mismatch");
} }
}catch(std::exception& e){ }catch(std::exception& _){
syntaxError("invalid number literal"); syntaxError("invalid number literal");
} }
} }