Fix unhandled enum warning
This commit is contained in:
parent
d4d463c699
commit
e9b408ef77
1 changed files with 5 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <psemek/util/assert.hpp>
|
||||
|
||||
namespace psemek::geom
|
||||
{
|
||||
|
||||
|
|
@ -31,6 +33,9 @@ namespace psemek::geom
|
|||
case sign_t::zero: return sign_t::zero;
|
||||
case sign_t::negative: return sign_t::positive;
|
||||
}
|
||||
|
||||
assert(false);
|
||||
return sign_t::zero;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue