Fix compiler warnings in osd/ptexTextureLoader caused by incorrect const declarations

This commit is contained in:
manuelk 2013-08-15 10:32:08 -07:00
parent aed981f19c
commit b227443390
2 changed files with 6 additions and 6 deletions

View File

@ -246,12 +246,12 @@ OsdPtexTextureLoader::~OsdPtexTextureLoader()
ClearPages();
}
const unsigned long int
unsigned long int
OsdPtexTextureLoader::GetNumBlocks( ) const {
return (unsigned long int)_blocks.size();
}
const unsigned long int
unsigned long int
OsdPtexTextureLoader::GetNumPages( ) const {
return (unsigned long int)_pages.size();
}

View File

@ -91,15 +91,15 @@ public:
~OsdPtexTextureLoader();
const unsigned short GetPageSize( ) const {
unsigned short GetPageSize( ) const {
return _pagesize;
}
const unsigned long int GetNumBlocks( ) const;
unsigned long int GetNumBlocks( ) const;
const unsigned long int GetNumPages( ) const;
unsigned long int GetNumPages( ) const;
const unsigned int * GetIndexBuffer( ) const {
unsigned int * GetIndexBuffer( ) const {
return _indexBuffer;
}