1
0
Fork 0

Changed pipeline character from >> to |

This commit is contained in:
tycho 2015-03-11 10:42:45 +00:00
parent 8646e95b6f
commit 430cbb8c83
2 changed files with 15 additions and 15 deletions

View File

@ -943,19 +943,19 @@ public:
auto FinalRivers =
std::make_shared<cIntGenChoice<2, 7>>(a_Seed + 12)
>> MakeIntGen<cIntGenZoom <10>>(a_Seed + 11)
>> MakeIntGen<cIntGenSmooth<8>>(a_Seed + 6)
>> MakeIntGen<cIntGenSmooth<6>>(a_Seed + 5)
>> MakeIntGen<cIntGenZoom <8>>(a_Seed + 10)
>> MakeIntGen<cIntGenSmooth<6>>(a_Seed + 5)
>> MakeIntGen<cIntGenZoom <8>>(a_Seed + 9)
>> MakeIntGen<cIntGenSmooth<6>>(a_Seed + 5)
>> MakeIntGen<cIntGenZoom <8>>(a_Seed + 8)
>> MakeIntGen<cIntGenSmooth<6>>(a_Seed + 5)
>> MakeIntGen<cIntGenZoom <9>>(a_Seed + 4)
>> MakeIntGen<cIntGenRiver <7>>(a_Seed + 3)
>> MakeIntGen<cIntGenZoom <10>>(a_Seed + 2)
>> MakeIntGen<cIntGenSmooth<8>>(a_Seed + 1);
| MakeIntGen<cIntGenZoom <10>>(a_Seed + 11)
| MakeIntGen<cIntGenSmooth<8>>(a_Seed + 6)
| MakeIntGen<cIntGenSmooth<6>>(a_Seed + 5)
| MakeIntGen<cIntGenZoom <8>>(a_Seed + 10)
| MakeIntGen<cIntGenSmooth<6>>(a_Seed + 5)
| MakeIntGen<cIntGenZoom <8>>(a_Seed + 9)
| MakeIntGen<cIntGenSmooth<6>>(a_Seed + 5)
| MakeIntGen<cIntGenZoom <8>>(a_Seed + 8)
| MakeIntGen<cIntGenSmooth<6>>(a_Seed + 5)
| MakeIntGen<cIntGenZoom <9>>(a_Seed + 4)
| MakeIntGen<cIntGenRiver <7>>(a_Seed + 3)
| MakeIntGen<cIntGenZoom <10>>(a_Seed + 2)
| MakeIntGen<cIntGenSmooth<8>>(a_Seed + 1);
auto alteration =
std::make_shared<cIntGenZoom <8>>(a_Seed,
@ -1001,7 +1001,7 @@ public:
std::make_shared<cIntGenAddIslands <6>> (a_Seed + 2000, 200,
std::make_shared<cIntGenSetRandomly <6>> (a_Seed + 9, 50, bgOcean,
std::make_shared<cIntGenLandOcean <5>> (a_Seed + 100, 30)
>> MakeIntGen<cIntGenZoom <6>> (a_Seed + 10)
| MakeIntGen<cIntGenZoom <6>> (a_Seed + 10)
)))))))))))))))))))))))))))));
m_Gen =

View File

@ -121,7 +121,7 @@ private:
};
template<class T, class RhsGen, class... Args>
std::shared_ptr<RhsGen> operator>> (std::shared_ptr<T> lhs, cIntGenFactory<RhsGen, Args...> rhs)
std::shared_ptr<RhsGen> operator| (std::shared_ptr<T> lhs, cIntGenFactory<RhsGen, Args...> rhs)
{
return rhs.construct(static_cast<std::shared_ptr<typename T::IntGenType>>(lhs));
}