mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
add SPROUT_ASSERT
This commit is contained in:
parent
a5e14e71e1
commit
07f052fb6e
32 changed files with 386 additions and 284 deletions
|
@ -137,7 +137,7 @@ namespace sprout {
|
|||
}
|
||||
rational& operator/=(rational const& rhs) {
|
||||
if (rhs.num_ == IntType(0)) {
|
||||
throw bad_rational();
|
||||
throw sprout::bad_rational();
|
||||
}
|
||||
if (num_ == IntType(0)) {
|
||||
return *this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue