mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-06-30 01:15:49 -05:00
Mark query functions as const
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user