From 37567a777ac56f93bcbc2df312567f9b758f35c3 Mon Sep 17 00:00:00 2001 From: Mikko Ahlroth Date: Thu, 6 Feb 2014 23:17:54 +0200 Subject: [PATCH] Use this for consistency. --- src/sysinfoc.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/sysinfoc.cpp b/src/sysinfoc.cpp index 22617f3..a18750c 100644 --- a/src/sysinfoc.cpp +++ b/src/sysinfoc.cpp @@ -31,60 +31,60 @@ float SysinfoC::load2Float(unsigned long load) long SysinfoC::getUptime() const { - return uptime; + return this->uptime; } Sysload* SysinfoC::getLoads() const { - return loads; + return this->loads; } unsigned long SysinfoC::getTotalram() const { - return totalram; + return this->totalram; } unsigned long SysinfoC::getFreeram() const { - return freeram; + return this->freeram; } unsigned long SysinfoC::getSharedram() const { - return sharedram; + return this->sharedram; } unsigned long SysinfoC::getBufferram() const { - return bufferram; + return this->bufferram; } unsigned long SysinfoC::getTotalswap() const { - return totalswap; + return this->totalswap; } unsigned long SysinfoC::getFreeswap() const { - return freeswap; + return this->freeswap; } unsigned short SysinfoC::getProcs() const { - return procs; + return this->procs; } unsigned long SysinfoC::getTotalhigh() const { - return totalhigh; + return this->totalhigh; } unsigned long SysinfoC::getFreehigh() const { - return freehigh; + return this->freehigh; } unsigned int SysinfoC::getMemunit() const { - return mem_unit; + return this->mem_unit; }