Mark query functions as const

This commit is contained in:
TheAssassin
2018-11-08 22:38:29 +01:00
parent 22ecabc51b
commit 8a79cfbe1d
2 changed files with 4 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ DesktopFileReader& DesktopFileReader::operator=(DesktopFileReader&& other) noexc
return *this;
}
bool DesktopFileReader::isEmpty() {
bool DesktopFileReader::isEmpty() const {
return d->isEmpty();
}
@@ -70,6 +70,6 @@ bool DesktopFileReader::operator!=(const DesktopFileReader& other) const {
return !operator==(other);
}
boost::filesystem::path DesktopFileReader::path() {
boost::filesystem::path DesktopFileReader::path() const {
return d->path;
}