mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
fix rational: for clang
This commit is contained in:
parent
c22735b212
commit
071217f1d4
13 changed files with 66 additions and 86 deletions
|
@ -36,7 +36,7 @@ namespace sprout {
|
|||
return base1_type::modulus - 1;
|
||||
}
|
||||
public:
|
||||
struct private_constructor_tag {};
|
||||
struct private_construct_t {};
|
||||
private:
|
||||
base1_type mlcg1_;
|
||||
base2_type mlcg2_;
|
||||
|
@ -44,7 +44,7 @@ namespace sprout {
|
|||
SPROUT_CONSTEXPR additive_combine_engine(
|
||||
base1_type const& mlcg1,
|
||||
base2_type const& mlcg2,
|
||||
private_constructor_tag
|
||||
private_construct_t
|
||||
)
|
||||
: mlcg1_(mlcg1)
|
||||
, mlcg2_(mlcg2)
|
||||
|
@ -59,7 +59,7 @@ namespace sprout {
|
|||
additive_combine_engine(
|
||||
rnd1.engine(),
|
||||
rnd2.engine(),
|
||||
private_constructor_tag()
|
||||
private_construct_t()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue