use signed ints for STD C++20
This commit is contained in:
parent
ecc47f5320
commit
d01b46a87a
@ -11,7 +11,7 @@
|
||||
#include <ranges>
|
||||
|
||||
template <class T>
|
||||
STD20Stream<T>::STD20Stream(const unsigned int ARRAY_SIZE, int device)
|
||||
STD20Stream<T>::STD20Stream(const int ARRAY_SIZE, int device)
|
||||
: array_size{ARRAY_SIZE}
|
||||
{
|
||||
a = std::vector<T>(array_size);
|
||||
|
||||
@ -18,7 +18,7 @@ class STD20Stream : public Stream<T>
|
||||
{
|
||||
protected:
|
||||
// Size of arrays
|
||||
unsigned int array_size;
|
||||
int array_size;
|
||||
|
||||
// Device side pointers
|
||||
std::vector<T> a;
|
||||
@ -26,7 +26,7 @@ class STD20Stream : public Stream<T>
|
||||
std::vector<T> c;
|
||||
|
||||
public:
|
||||
STD20Stream(const unsigned int, int);
|
||||
STD20Stream(const int, int);
|
||||
~STD20Stream() = default;
|
||||
|
||||
virtual void copy() override;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user