Skip to content

Commit

Permalink
Merge commit 'b976ebf553f3e7158f7e7377fe99d505cee0a904' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
maksis committed Aug 23, 2024
2 parents 72e8c46 + b976ebf commit 00724cc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion airdcpp-core/airdcpp/File.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class File: public IOStream {
~File();

bool isOpen() const noexcept;
int64_t getSize() const noexcept;
int64_t getSize() const noexcept override;
void setSize(int64_t newSize);

int64_t getPos() const noexcept;
Expand Down
2 changes: 1 addition & 1 deletion airdcpp-core/airdcpp/FilteredFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class FilteredInputStream : public InputStream {
return as->releaseRootStream();
}

int64_t getSize() const noexcept {
int64_t getSize() const noexcept override {
return f->getSize();
}
private:
Expand Down
2 changes: 1 addition & 1 deletion airdcpp-core/airdcpp/SharedFileStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class SharedFileStream : public IOStream
size_t write(const void* buf, size_t len) override;
size_t read(void* buf, size_t& len) override;

int64_t getSize() const noexcept;
int64_t getSize() const noexcept override;
void setSize(int64_t newSize);

size_t flushBuffers(bool aForce) override;
Expand Down
4 changes: 2 additions & 2 deletions airdcpp-core/airdcpp/Streams.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class MemoryInputStream : public InputStream {
return len;
}

int64_t getSize() const noexcept { return static_cast<int64_t>(size); }
int64_t getSize() const noexcept override { return static_cast<int64_t>(size); }

private:
size_t pos = 0;
Expand Down Expand Up @@ -116,7 +116,7 @@ class LimitedInputStream : public InputStream {
return as->releaseRootStream();
}

int64_t getSize() const noexcept {
int64_t getSize() const noexcept override {
return s->getSize();
}
private:
Expand Down

0 comments on commit 00724cc

Please sign in to comment.