Commit 912ff7f2 authored by incardon's avatar incardon
Browse files

Fixed dangling pointers

parent f46323b7
......@@ -173,7 +173,7 @@ struct copy_cpu_sd
typedef typename S::type::type ov_seq;
//! constructor
copy_cpu_sd(grid_key_dx<dim> & key, const S grid_src, S grid_dst)
copy_cpu_sd(grid_key_dx<dim> & key, const S & grid_src, S & grid_dst)
:key(key),grid_src(grid_src),grid_dst(grid_dst){};
//! It call the copy function for each member
......
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