seznam / SuperiorMySqlpp

SuperiorMySQL++
GNU Lesser General Public License v3.0
31 stars 20 forks source link

fix: validate integer convertor's values at compile time #116

Closed MrWarlockX closed 5 years ago

MrWarlockX commented 5 years ago

Fix of error introduced when compiled with newer compilers (-Werror=terminate). Problem is that when you have noexcept function, you cannot discard the throw statement. This is fixed by introducing new facility to discard code if needed.