Clean up some warnings.
This commit is contained in:
parent
a19567508e
commit
dba6a91ec1
25 changed files with 453 additions and 431 deletions
|
@ -6,14 +6,14 @@
|
|||
|
||||
struct XRefRecord
|
||||
{
|
||||
unsigned mOffsetBytes{0};
|
||||
unsigned mGenerationNumber{0};
|
||||
std::size_t mOffsetBytes{0};
|
||||
std::size_t mGenerationNumber{0};
|
||||
bool mIsFree{false};
|
||||
};
|
||||
|
||||
struct TableSubSection
|
||||
{
|
||||
unsigned mStartIndex{0};
|
||||
std::size_t mStartIndex{0};
|
||||
std::vector<XRefRecord> mRecords;
|
||||
};
|
||||
|
||||
|
@ -22,14 +22,14 @@ class PdfXRefTable
|
|||
public:
|
||||
PdfXRefTable();
|
||||
|
||||
void addRecord(unsigned numBytes, unsigned generation, unsigned isFree);
|
||||
void addRecord(std::size_t numBytes, std::size_t generation, unsigned isFree);
|
||||
|
||||
unsigned getNextOffset();
|
||||
std::size_t getNextOffset();
|
||||
|
||||
unsigned getNumEntries();
|
||||
std::size_t getNumEntries();
|
||||
|
||||
std::string toString();
|
||||
private:
|
||||
unsigned mLastAddedBytes{0};
|
||||
std::size_t mLastAddedBytes{0};
|
||||
std::vector<TableSubSection> mSections;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue