summaryrefslogtreecommitdiff
path: root/src/cstore/unionfs/cstore-unionfs.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cstore/unionfs/cstore-unionfs.hpp')
-rw-r--r--src/cstore/unionfs/cstore-unionfs.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cstore/unionfs/cstore-unionfs.hpp b/src/cstore/unionfs/cstore-unionfs.hpp
index fd145ad..a56e9ec 100644
--- a/src/cstore/unionfs/cstore-unionfs.hpp
+++ b/src/cstore/unionfs/cstore-unionfs.hpp
@@ -186,9 +186,15 @@ private:
FsPath cpath;
FsPath tpath;
};
+ #if __GNUC__ < 6
+ auto_ptr<SavePaths> create_save_paths() {
+ return auto_ptr<SavePaths>(new UnionfsSavePaths(this));
+ };
+ #else
unique_ptr<SavePaths> create_save_paths() {
return unique_ptr<SavePaths>(new UnionfsSavePaths(this));
};
+ #endif
bool cfg_path_at_root() {
return (!mutable_cfg_path.has_parent_path());