gcc 4.7+ compiler warnings removed

This commit is contained in:
Matej Sekoranja
2013-02-27 11:44:00 +01:00
parent 4122e772c1
commit cd95b75563
3 changed files with 6 additions and 5 deletions

View File

@@ -94,7 +94,7 @@ String Scalar::getID() const
return idScalarLUT[scalarType];
}
const int8 Scalar::getTypeCodeLUT() const
int8 Scalar::getTypeCodeLUT() const
{
static const int8 typeCodeLUT[] = {
0x00, // pvBoolean
@@ -170,7 +170,7 @@ ScalarArray::ScalarArray(ScalarType elementType)
ScalarArray::~ScalarArray() {}
const int8 ScalarArray::getTypeCodeLUT() const
int8 ScalarArray::getTypeCodeLUT() const
{
static const int8 typeCodeLUT[] = {
0x00, // pvBoolean