]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- added const
authorArvin Schnell <aschnell@suse.de>
Tue, 22 Feb 2011 18:46:03 +0000 (19:46 +0100)
committerArvin Schnell <aschnell@suse.de>
Tue, 22 Feb 2011 18:46:03 +0000 (19:46 +0100)
snapper/File.cc
snapper/File.h

index cf958a71058287dc573a61791aaaf31369276c91..d58bebc28da82ac78cbbe9846702ca13f7af41f5 100644 (file)
@@ -303,7 +303,7 @@ namespace snapper
 
 
     string
-    File::getAbsolutePath(Location loc)
+    File::getAbsolutePath(Location loc) const
     {
        switch (loc)
        {
index 4666cc34f6b0244e3ad92c44f107a39df14b7308..4aad0318197446d1ecdf3a9aa75f497e4292b3c5 100644 (file)
@@ -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; }