Commit 6f0e001e authored by Paul's avatar Paul
Browse files

Formatting

parent f9077931
...@@ -18,13 +18,13 @@ struct argument : raw_data<argument> ...@@ -18,13 +18,13 @@ struct argument : raw_data<argument>
{ {
argument() {} argument() {}
argument(shape s) : m_shape(s) argument(shape s) : m_shape(s)
{ {
std::vector<char> buffer(s.bytes()); std::vector<char> buffer(s.bytes());
// TODO: Move vector // TODO: Move vector
data = [=]() mutable { return buffer.data(); }; data = [=]() mutable { return buffer.data(); };
} }
argument(shape s, std::function<char*()> d) : data(d), m_shape(s) {} argument(shape s, std::function<char*()> d) : data(d), m_shape(s) {}
/// Provides a raw pointer to the data /// Provides a raw pointer to the 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