Commit 76492ff8 authored by incardon's avatar incardon
Browse files

Fixing some warnings

parent 256a3ed6
......@@ -736,9 +736,9 @@ public:
return;
}
// It is safe to a memory copy
// It is safe to do a memory copy
data.move(&get<0>());
data.move(&this->template get<0>());
}
/*! \brief Resize the space
......
......@@ -60,10 +60,6 @@ public:
typedef boost::fusion::vector<T[dim],T[dim]> type;
//! type of the box
typedef T btype;
//! layout that interleave the properties
typedef typename memory_traits_inte<type>::type memory_int;
//! layout with linear properties
typedef typename memory_traits_lin<type>::type memory_lin;
//! It store the two point bounding the box
type data;
......
......@@ -260,7 +260,6 @@ namespace openfpm
#include "map_vector_std.hpp"
/*! \brief Implementation of 1-D std::vector like structure
*
* The layout is memory_traits_lin
......@@ -688,6 +687,7 @@ namespace openfpm
*
*/
vector(const vector<T,device_cpu<T>, Memory,grow_p,OPENFPM_NATIVE> && v)
:v_size(0)
{
swap(v);
}
......@@ -698,6 +698,7 @@ namespace openfpm
*
*/
vector(const vector<T,device_cpu<T>, Memory,grow_p,OPENFPM_NATIVE> & v)
:v_size(0)
{
swap(v.duplicate());
}
......
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