Merge pull request #94 from theirix/self-casts
Fixed warnings: self-casts, const qual
This commit is contained in:
commit
c1b88fd42b
|
|
@ -218,16 +218,6 @@ public:
|
|||
// postfix
|
||||
stream << ")";
|
||||
}
|
||||
|
||||
/**
|
||||
* Cast to array (compiler will probably never call this method)
|
||||
* @return Array
|
||||
*/
|
||||
virtual operator const Array& () const override
|
||||
{
|
||||
// this already is an array, so no cast is necessary
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -242,16 +242,6 @@ public:
|
|||
// postfix
|
||||
stream << ")";
|
||||
}
|
||||
|
||||
/**
|
||||
* Cast to table (compiler will probably never call this method)
|
||||
* @return Table
|
||||
*/
|
||||
virtual operator const Table& () const override
|
||||
{
|
||||
// this already is an array, so no cast is necessary
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ public:
|
|||
* Return whether to wait for a response
|
||||
* @return boolean
|
||||
*/
|
||||
const bool noWait() const
|
||||
bool noWait() const
|
||||
{
|
||||
return _noWait.get(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue