Skip to content

Commit 7562b6d

Browse files
committed
filesysteminfo.h: C++ does not require a void parameter
1 parent 69a9d0e commit 7562b6d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

mythtv/libs/libmythbase/filesysteminfo.h

+10-10
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@ class MBASE_PUBLIC FileSystemInfo
5353
void clear() { *this = FileSystemInfo(); }
5454

5555
// information gets
56-
QString getHostname(void) const { return m_hostname; }
57-
QString getPath(void) const { return m_path; }
58-
bool isLocal(void) const { return m_local; }
59-
int getFSysID(void) const { return m_fsid; }
60-
int getGroupID(void) const { return m_grpid; }
61-
int getBlockSize(void) const { return m_blksize; }
62-
int64_t getTotalSpace(void) const { return m_total; }
63-
int64_t getUsedSpace(void) const { return m_used; }
64-
int getWeight(void) const { return m_weight; }
56+
QString getHostname() const { return m_hostname; }
57+
QString getPath() const { return m_path; }
58+
bool isLocal() const { return m_local; }
59+
int getFSysID() const { return m_fsid; }
60+
int getGroupID() const { return m_grpid; }
61+
int getBlockSize() const { return m_blksize; }
62+
int64_t getTotalSpace() const { return m_total; }
63+
int64_t getUsedSpace() const { return m_used; }
64+
int getWeight() const { return m_weight; }
6565

6666
// not cached because of use in mythbackend/autoexpire
67-
int64_t getFreeSpace(void) const { return m_total - m_used; }
67+
int64_t getFreeSpace() const { return m_total - m_used; }
6868

6969
// information puts
7070
void setHostname(QString hostname) { m_hostname = std::move(hostname); }

0 commit comments

Comments
 (0)