diff options
| author | Tannin <devnull@localhost> | 2014-09-24 19:51:51 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-09-24 19:51:51 +0200 |
| commit | 93bd29c13d3355b2544c2fd40dff1f4f985f9b57 (patch) | |
| tree | 9f07f3c0e7d9e9bac8a27d511e6dfdd06f42344b /src/shared/directoryentry.h | |
| parent | 637ce6bcc1b10198eb2a21570b6a97e122814f55 (diff) | |
- several style fixes suggested by static analysis
- will now support up to 4 levels of version numbers (major.minor.subminor.subsubminor
Diffstat (limited to 'src/shared/directoryentry.h')
| -rw-r--r-- | src/shared/directoryentry.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/directoryentry.h b/src/shared/directoryentry.h index 096f373e..d588ab02 100644 --- a/src/shared/directoryentry.h +++ b/src/shared/directoryentry.h @@ -219,7 +219,7 @@ public: void clear();
bool isPopulated() const { return m_Populated; }
- bool isEmpty() const { return (m_Files.size() == 0) && (m_SubDirectories.size() == 0); }
+ bool isEmpty() const { return m_Files.empty() && m_SubDirectories.empty(); }
const DirectoryEntry *getParent() const { return m_Parent; }
|
