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:
Emiel Bruijntjes 2017-11-01 08:20:52 +01:00
parent d75ae2ebe1
commit 562703b1cf
1 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ public:
* Major AMQP version number
* @return uint8_t
*/
uint8_t major() const
uint8_t majorVersion() const
{
return _major;
}
@ -130,7 +130,7 @@ public:
* Minor AMQP version number
* @return uint8_t
*/
uint8_t minor() const
uint8_t minorVersion() const
{
return _minor;
}