Use array instead of vector

This commit is contained in:
Uwe Seimet 2023-11-15 21:15:02 +01:00
parent fb1c2455c3
commit 89d777fabf

View File

@ -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;
}; };