From 3791853a809c3f9f8b045181487f3d6533e0691d Mon Sep 17 00:00:00 2001 From: Simon Detheridge Date: Wed, 14 Jan 2015 09:42:44 +0000 Subject: [PATCH] Fix compiler error due to missing 'template' keyword --- Source/Ember/Renderer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Ember/Renderer.cpp b/Source/Ember/Renderer.cpp index 75a4555..0fcf7e9 100644 --- a/Source/Ember/Renderer.cpp +++ b/Source/Ember/Renderer.cpp @@ -1198,10 +1198,10 @@ EmberStats Renderer::Iterate(size_t iterCount, size_t temporalSample //Use first as random point, the rest are iterated points. //Note that this gets reset with a new random point for each subBatchSize iterations. //This helps correct if iteration happens to be on a bad trajectory. - m_Samples[threadIndex][0].m_X = m_Rand[threadIndex].Frand11(); - m_Samples[threadIndex][0].m_Y = m_Rand[threadIndex].Frand11(); + m_Samples[threadIndex][0].m_X = m_Rand[threadIndex].template Frand11(); + m_Samples[threadIndex][0].m_Y = m_Rand[threadIndex].template Frand11(); m_Samples[threadIndex][0].m_Z = 0;//m_Ember.m_CamZPos;//Apo set this to 0, then made the user use special variations to kick it. It seems easier to just set it to zpos. - m_Samples[threadIndex][0].m_ColorX = m_Rand[threadIndex].Frand01(); + m_Samples[threadIndex][0].m_ColorX = m_Rand[threadIndex].template Frand01(); //Finally, iterate. //t.Tic();