renamed major() and minor() methods of the ConnectionStartFrame class to fix warning from new gcc version that these function names are more or less reserved
This commit is contained in:
parent
d75ae2ebe1
commit
562703b1cf
|
|
@ -121,7 +121,7 @@ public:
|
||||||
* Major AMQP version number
|
* Major AMQP version number
|
||||||
* @return uint8_t
|
* @return uint8_t
|
||||||
*/
|
*/
|
||||||
uint8_t major() const
|
uint8_t majorVersion() const
|
||||||
{
|
{
|
||||||
return _major;
|
return _major;
|
||||||
}
|
}
|
||||||
|
|
@ -130,7 +130,7 @@ public:
|
||||||
* Minor AMQP version number
|
* Minor AMQP version number
|
||||||
* @return uint8_t
|
* @return uint8_t
|
||||||
*/
|
*/
|
||||||
uint8_t minor() const
|
uint8_t minorVersion() const
|
||||||
{
|
{
|
||||||
return _minor;
|
return _minor;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue