Commit 13b23647 authored by Pierre NARVOR's avatar Pierre NARVOR
Browse files

[cuda/mapping] Added default Constructor to Mapping type

parent 3cce1e9a
......@@ -93,6 +93,7 @@ class Mapping
Texture data_;
FunctorT f_;
Mapping();
Mapping(Texture&& data);
Mapping(Texture&& data, const FunctorT& f);
......@@ -114,6 +115,10 @@ class Mapping
DeviceMap device_map() const;
};
template <typename T, class FunctorT>
Mapping<T,FunctorT>::Mapping()
{}
template <typename T, class FunctorT>
Mapping<T,FunctorT>::Mapping(Texture&& data) :
data_(data)
......
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