mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix testspr
This commit is contained in:
parent
7640eca894
commit
6e5004b6f4
2 changed files with 4 additions and 8 deletions
|
@ -79,9 +79,6 @@ namespace sprout {
|
|||
, engine_(engine)
|
||||
, distribution_(distribution)
|
||||
{}
|
||||
SPROUT_CONSTEXPR operator result_type() const SPROUT_NOEXCEPT {
|
||||
return result_;
|
||||
}
|
||||
SPROUT_CONSTEXPR random_result operator()() const {
|
||||
return distribution_(engine_);
|
||||
}
|
||||
|
@ -210,9 +207,6 @@ namespace sprout {
|
|||
: result_(result)
|
||||
, engine_(engine)
|
||||
{}
|
||||
SPROUT_CONSTEXPR operator result_type() const SPROUT_NOEXCEPT {
|
||||
return result_;
|
||||
}
|
||||
SPROUT_CONSTEXPR random_result operator()() const {
|
||||
return engine_();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue