Skip to content
Snippets Groups Projects
Commit 873d7bbd authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing clang compilation

parent a60feaf6
No related branches found
No related tags found
No related merge requests found
......@@ -718,7 +718,7 @@ public:
* \param v1 grid_key that identify the element in the grid
*
*/
template <unsigned int p>inline const auto get(const grid_dist_key_dx<dim> & v1) const -> typename std::add_lvalue_reference<decltype(loc_grid.get(v1.getSub()).template get<p>(v1.getKey()))>::type
template <unsigned int p>inline auto get(const grid_dist_key_dx<dim> & v1) const -> typename std::add_lvalue_reference<decltype(loc_grid.get(v1.getSub()).template get<p>(v1.getKey()))>::type
{
return loc_grid.get(v1.getSub()).template get<p>(v1.getKey());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment