we have no subclasses, so change protected to private.
git-svn-id: http://skia.googlecode.com/svn/trunk@5131 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
d57d71a5b8
commit
bc4b66f42c
@ -74,7 +74,7 @@ public:
|
||||
uint8_t readU8() { uint8_t x; read(&x, 1); return x; }
|
||||
bool readBool() { return this->readU8() != 0; }
|
||||
|
||||
protected:
|
||||
private:
|
||||
void readNoSizeCheck(void* buffer, size_t size);
|
||||
|
||||
const char* fData;
|
||||
@ -127,7 +127,7 @@ public:
|
||||
void write8(int8_t x) { this->writeNoSizeCheck(&x, 1); }
|
||||
void writeBool(bool x) { this->write8(x); }
|
||||
|
||||
protected:
|
||||
private:
|
||||
void writeNoSizeCheck(const void* buffer, size_t size);
|
||||
|
||||
char* fData;
|
||||
|
Loading…
Reference in New Issue
Block a user