streams: Remove unused CAutoFile::GetVersion

This commit is contained in:
Anthony Towns 2023-11-17 23:58:43 +10:00
parent e63f643079
commit c72ddf04db
1 changed files with 1 additions and 5 deletions

View File

@ -507,12 +507,8 @@ public:
class CAutoFile : public AutoFile
{
private:
const int nVersion;
public:
explicit CAutoFile(std::FILE* file, int version, std::vector<std::byte> data_xor = {}) : AutoFile{file, std::move(data_xor)}, nVersion{version} {}
int GetVersion() const { return nVersion; }
explicit CAutoFile(std::FILE* file, int /*unused*/, std::vector<std::byte> data_xor = {}) : AutoFile{file, std::move(data_xor)} {}
template<typename T>
CAutoFile& operator<<(const T& obj)