Fixed a couple of mistakes in the C++CSP support header file
This commit is contained in:
parent
4935a04aa4
commit
1694f524fd
|
@ -354,7 +354,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
///Also for the sender:
|
///Also for the sender:
|
||||||
template <typename T, typename N>
|
template <typename T, unsigned N>
|
||||||
inline explicit tockSendableArrayOfBytes(const tockArrayView<T,N>& arr)
|
inline explicit tockSendableArrayOfBytes(const tockArrayView<T,N>& arr)
|
||||||
: n(0),sp(arr.data())
|
: n(0),sp(arr.data())
|
||||||
{
|
{
|
||||||
|
@ -362,14 +362,14 @@ public:
|
||||||
|
|
||||||
///For the receiver:
|
///For the receiver:
|
||||||
inline tockSendableArrayOfBytes(unsigned _n,void* p)
|
inline tockSendableArrayOfBytes(unsigned _n,void* p)
|
||||||
: n(_n),sp(p)
|
: n(_n),dp(p)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
//Also for the receiver:
|
//Also for the receiver:
|
||||||
template <typename T, typename N>
|
template <typename T, unsigned N>
|
||||||
inline explicit tockSendableArrayOfBytes(unsigned _n, const tockArrayView<T,N>& arr)
|
inline explicit tockSendableArrayOfBytes(unsigned _n, const tockArrayView<T,N>& arr)
|
||||||
: n(_n),p(arr.data())
|
: n(_n),dp(arr.data())
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user