InputPlugin: remove typedef offset_type
Has been moved to class InputStream long ago.
This commit is contained in:
@@ -161,7 +161,7 @@ ZzipInputStream::Read(void *ptr, size_t read_size, Error &error)
|
|||||||
bool
|
bool
|
||||||
ZzipInputStream::IsEOF()
|
ZzipInputStream::IsEOF()
|
||||||
{
|
{
|
||||||
return (InputPlugin::offset_type)zzip_tell(file) == size;
|
return offset_type(zzip_tell(file)) == size;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
@@ -61,8 +61,6 @@ struct InputPlugin {
|
|||||||
UNAVAILABLE,
|
UNAVAILABLE,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef int64_t offset_type;
|
|
||||||
|
|
||||||
const char *name;
|
const char *name;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user