aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/auth/authmgr.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-03-06 17:27:59 +0100
committerStefan Boberg <[email protected]>2025-03-06 17:27:59 +0100
commit66e5d1f4e288e0c32f854ebe3b63584b42b83554 (patch)
treed67e9d358419b5baccd429d54988414e0d7cd7a6 /src/zenhttp/auth/authmgr.cpp
parentreduced memory churn using fixed_xxx containers (#236) (diff)
downloadzen-66e5d1f4e288e0c32f854ebe3b63584b42b83554.tar.xz
zen-66e5d1f4e288e0c32f854ebe3b63584b42b83554.zip
switched std::vector -> eastl::vector
Diffstat (limited to 'src/zenhttp/auth/authmgr.cpp')
-rw-r--r--src/zenhttp/auth/authmgr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zenhttp/auth/authmgr.cpp b/src/zenhttp/auth/authmgr.cpp
index 1a9892d5c..5ba64b1ee 100644
--- a/src/zenhttp/auth/authmgr.cpp
+++ b/src/zenhttp/auth/authmgr.cpp
@@ -43,7 +43,7 @@ namespace details {
return IoBuffer();
}
- std::vector<uint8_t> DecryptionBuffer;
+ eastl::vector<uint8_t> DecryptionBuffer;
DecryptionBuffer.resize(EncryptedBuffer.GetSize() + Aes::BlockSize);
MemoryView DecryptedView = Aes::Decrypt(Key, IV, EncryptedBuffer, MakeMutableMemoryView(DecryptionBuffer), Reason);
@@ -67,7 +67,7 @@ namespace details {
return;
}
- std::vector<uint8_t> EncryptionBuffer;
+ eastl::vector<uint8_t> EncryptionBuffer;
EncryptionBuffer.resize(FileData.GetSize() + Aes::BlockSize);
MemoryView EncryptedView = Aes::Encrypt(Key, IV, FileData, MakeMutableMemoryView(EncryptionBuffer), Reason);
@@ -421,7 +421,7 @@ private:
{
// Refresh Open ID token(s)
- std::vector<OpenIdTokenMap::value_type> ExpiredTokens;
+ eastl::vector<OpenIdTokenMap::value_type> ExpiredTokens;
{
std::unique_lock _(m_TokenMutex);