3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-14 01:46:15 +00:00

remove class from enum class, add default to avoid compiler warning

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-10-12 22:44:23 -07:00
parent efb12331e0
commit 5356c4f7dd

View file

@ -139,7 +139,7 @@ namespace z3 {
*/
class context {
public:
enum class rounding_mode {
enum rounding_mode {
RNA,
RNE,
RTP,
@ -2698,6 +2698,7 @@ namespace z3 {
case rounding_mode::RTP: return sort(*this, Z3_mk_fpa_rtp(m_ctx));
case rounding_mode::RTN: return sort(*this, Z3_mk_fpa_rtn(m_ctx));
case rounding_mode::RTZ: return sort(*this, Z3_mk_fpa_rtz(m_ctx));
default: return sort(*this);
}
}