Commit 7610d859 authored by COULAUD Olivier's avatar COULAUD Olivier

Remove warnings with gcc 7.2 utestFBasicParticleContainer.cpp

parent 51b01727
......@@ -17,14 +17,14 @@ using sc::pack_expand_tuple;
class testFBasicParticleContainer {
using FContainer = FBasicParticleContainer<FReal, 5, float>;
using FParticle = FContainer::FParticle;
using FContainer = FBasicParticleContainer<FReal, 5, int>;
using FParticle = FContainer::FParticle;
using FParticleData = FParticle::tuple_data_t;
static_assert(
std::is_same<
FParticleData,
pack_expand_tuple<pack<3,FReal>, pack<5,float> > >::value,
pack_expand_tuple<pack<3,FReal>, pack<5,int> > >::value,
"");
......@@ -128,8 +128,8 @@ private:
void test_attributes() {
FContainer container;
float * dyn_attributes[5];
float * attributes[5];
int * dyn_attributes[5];
int * attributes[5];
dyn_attributes[0] = container.getAttribute(0);
attributes[0] = container.getAttribute<0>();
......
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