Commit 83731f8f authored by incardon's avatar incardon

Fixing compilation on clang

parent 20947978
......@@ -238,7 +238,7 @@ class grid_dist_iterator<dim,device_grid,FREE,stencil>
*/
template<unsigned int id> inline grid_dist_lin_dx getStencil()
{
return grid_dist_lin_dx(g_c,a_it.getStencil<id>());
return grid_dist_lin_dx(g_c,a_it.template getStencil<id>());
}
};
......@@ -288,6 +288,8 @@ class grid_dist_iterator<dim,device_grid,FIXED,stencil>
*
* \param tmp iterator to copy
*
* \return itself
*
*/
grid_dist_iterator<dim,device_grid,FIXED> & operator=(const grid_dist_iterator<dim,device_grid,FIXED> & tmp)
{
......@@ -410,7 +412,7 @@ class grid_dist_iterator<dim,device_grid,FIXED,stencil>
*/
template<unsigned int id> inline grid_dist_lin_dx getStencil()
{
return grid_dist_lin_dx(g_c,a_it.getStencil<id>());
return grid_dist_lin_dx(g_c,a_it.template getStencil<id>());
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment