mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix SPROUT_ASSERT
This commit is contained in:
parent
07f052fb6e
commit
2cb0f08555
3 changed files with 17 additions and 23 deletions
|
@ -120,12 +120,12 @@ namespace sprout {
|
|||
return get();
|
||||
}
|
||||
SPROUT_CONSTEXPR reference_const_type get() const {
|
||||
return SPROUT_ASSERT(is_initialized()) ? val.get()
|
||||
return (SPROUT_ASSERT(is_initialized()), true) ? val.get()
|
||||
: val.get()
|
||||
;
|
||||
}
|
||||
reference_type get() {
|
||||
return SPROUT_ASSERT(is_initialized()) ? val.get()
|
||||
return (SPROUT_ASSERT(is_initialized()), true) ? val.get()
|
||||
: val.get()
|
||||
;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue