From: Arvin Schnell Date: Mon, 16 Feb 2015 10:53:36 +0000 (+0100) Subject: - return references X-Git-Tag: v0.2.6~1^2~12 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=f7df083cab27006bc59d2b7e845e0c68118afe57;p=thirdparty%2Fsnapper.git - return references --- diff --git a/snapper/Snapshot.h b/snapper/Snapshot.h index c942d5f3..995da564 100644 --- a/snapper/Snapshot.h +++ b/snapper/Snapshot.h @@ -98,12 +98,9 @@ namespace snapper unsigned int getPreNum() const { return pre_num; } - string getDescription() const { return description; } - - string getCleanup() const { return cleanup; } - - map getUserdata() const { return userdata; } - + const string& getDescription() const { return description; } + const string& getCleanup() const { return cleanup; } + const map& getUserdata() const { return userdata; } string snapshotDir() const;