mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
streams: Remove unused CAutoFile::GetVersion
This commit is contained in:
parent
e63f643079
commit
c72ddf04db
1 changed files with 1 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue