From: Arvin Schnell Date: Tue, 22 Feb 2011 18:46:03 +0000 (+0100) Subject: - added const X-Git-Tag: v0.1.3~466 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cea2174fee2ffd634abd7edbb95dbdc5f97c53d5;p=thirdparty%2Fsnapper.git - added const --- diff --git a/snapper/File.cc b/snapper/File.cc index cf958a71..d58bebc2 100644 --- a/snapper/File.cc +++ b/snapper/File.cc @@ -303,7 +303,7 @@ namespace snapper string - File::getAbsolutePath(Location loc) + File::getAbsolutePath(Location loc) const { switch (loc) { diff --git a/snapper/File.h b/snapper/File.h index 4666cc34..4aad0318 100644 --- a/snapper/File.h +++ b/snapper/File.h @@ -85,7 +85,7 @@ namespace snapper unsigned int getStatus(Cmp cmp); - string getAbsolutePath(Location loc); + string getAbsolutePath(Location loc) const; bool getRollback() const { return rollback; } void setRollback(bool value) { rollback = value; }