mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-10 02:29:33 +00:00
Use array instead of vector
This commit is contained in:
parent
fb1c2455c3
commit
89d777fabf
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
#include "scsiexec/phase_executor.h"
|
#include "scsiexec/phase_executor.h"
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <vector>
|
#include <array>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -38,7 +38,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
vector<uint8_t> buffer = vector<uint8_t>(BUFFER_SIZE);
|
array<uint8_t, BUFFER_SIZE> buffer;
|
||||||
|
|
||||||
unique_ptr<PhaseExecutor> phase_executor;
|
unique_ptr<PhaseExecutor> phase_executor;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user