From 6d806e12d0fd87d6fca670905c7cc6dce460ca04 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Sat, 5 Aug 2023 18:00:39 -0500 Subject: [PATCH] Switch to std::copy --- SHNFileDecryptor/SHNFileDecryptor.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/SHNFileDecryptor/SHNFileDecryptor.h b/SHNFileDecryptor/SHNFileDecryptor.h index 3766113..7280103 100644 --- a/SHNFileDecryptor/SHNFileDecryptor.h +++ b/SHNFileDecryptor/SHNFileDecryptor.h @@ -145,14 +145,8 @@ void SHNFile::Decrypt(){ } std::vector&SHNFile::ReadBytes(int bytes){ readArr.clear(); - for(int i=0;i