mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-01-20 22:24:38 +01:00
Remove traces of noexcept from the binding library. This would've impaired the exception handling required by the binding system and cause a program termination for even the slightest error that occured from the script.
This commit is contained in:
@@ -1187,12 +1187,12 @@ template<> struct ArgFwdHasFmt<const StackStrF&> { static constexpr bool value =
|
||||
/// Helper used to process formatted arguments when necessary.
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
template<bool> struct ArgFwdFmt {
|
||||
template<class T> static inline SQInteger Proc(T &, bool) noexcept { return SQ_OK; }
|
||||
template<class T> static inline SQInteger Get(T &) noexcept { return SQ_OK; }
|
||||
template<class T> static inline SQInteger Proc(T &, bool) { return SQ_OK; }
|
||||
template<class T> static inline SQInteger Get(T &) { return SQ_OK; }
|
||||
};
|
||||
template<> struct ArgFwdFmt<true> {
|
||||
static inline SQInteger Proc(StackStrF & s, bool dummy = false) noexcept { return s.Proc(true, dummy); }
|
||||
static inline SQInteger Get(StackStrF & s) noexcept { return s.mRes; }
|
||||
static inline SQInteger Proc(StackStrF & s, bool dummy = false) { return s.Proc(true, dummy); }
|
||||
static inline SQInteger Get(StackStrF & s) { return s.mRes; }
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user