Use array instead of vector

This commit is contained in:
Uwe Seimet 2023-11-15 21:15:02 +01:00
parent fb1c2455c3
commit 89d777fabf
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
#include "scsiexec/phase_executor.h"
#include <cstdint>
#include <vector>
#include <array>
#include <string>
using namespace std;
@ -38,7 +38,7 @@ public:
private:
vector<uint8_t> buffer = vector<uint8_t>(BUFFER_SIZE);
array<uint8_t, BUFFER_SIZE> buffer;
unique_ptr<PhaseExecutor> phase_executor;
};