Fix variable naming and usage

Don't use `this->` when it's not needed. Use snake_case for member
variables. Initialize the members using a initialization list.
This commit is contained in:
Markus Mäkelä
2017-03-27 12:22:51 +03:00
parent a10aa85736
commit 14cfd482de
4 changed files with 184 additions and 209 deletions

View File

@ -17,12 +17,12 @@
void SessionCommand::mark_reply_received()
{
m_replySent = true;
m_reply_sent = true;
}
bool SessionCommand::is_reply_received() const
{
return m_replySent;
return m_reply_sent;
}
uint8_t SessionCommand::get_command() const
@ -44,7 +44,7 @@ SessionCommand::SessionCommand(GWBUF *buffer, uint64_t id):
m_buffer(buffer),
m_command(0),
m_pos(id),
m_replySent(false)
m_reply_sent(false)
{
if (buffer)
{