From 8b851d504875906afe3b40dd87f642fd7d5a93f1 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sat, 19 Dec 2015 14:30:32 +0000 Subject: Added HTTPS links wherever they are supported. --- src/Generating/IntGen.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'src/Generating/IntGen.h') diff --git a/src/Generating/IntGen.h b/src/Generating/IntGen.h index 3f94ec3d0..708dc0550 100644 --- a/src/Generating/IntGen.h +++ b/src/Generating/IntGen.h @@ -67,10 +67,10 @@ public: /** Generates the array of templated size into a_Values, based on given min coords. */ virtual void GetInts(int a_MinX, int a_MinZ, Values & a_Values) = 0; - + }; -// Code adapted from http://stackoverflow.com/questions/7858817/unpacking-a-tuple-to-call-a-matching-function-pointer +// Code adapted from https://stackoverflow.com/questions/7858817/unpacking-a-tuple-to-call-a-matching-function-pointer template struct sSeq @@ -92,7 +92,7 @@ struct sGens<0, S...> template class cIntGenFactory { - + public: typedef Gen Generator; @@ -101,7 +101,7 @@ public: m_args(std::make_tuple(std::forward(a_args)...)) { } - + template std::shared_ptr construct(LhsGen&& a_Lhs) { @@ -111,13 +111,13 @@ public: private: std::tuple m_args; - + template std::shared_ptr construct_impl(LhsGen&& a_Lhs, sSeq) { return std::make_shared(std::get(m_args)..., std::forward(a_Lhs)); } - + }; template @@ -1466,7 +1466,3 @@ protected: Underlying m_Underlying; Underlying m_Alteration; }; - - - - -- cgit v1.2.3