aboutsummaryrefslogtreecommitdiff
path: root/src/libutil
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-01 16:47:43 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-01 16:47:43 +0200
commitbec3c3160881fcedf226080f13739aee81adae1a (patch)
tree6f3b9ab73916cd821a77324c34279826423a3640 /src/libutil
parentbdc4a0b54d54146448061dd9a248212f98a9f801 (diff)
nix-prefetch-url: Rewrite in C++
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/util.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index b2fb59d6f..a05a4cb88 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -202,6 +202,7 @@ public:
AutoDelete(const Path & p, bool recursive = true);
~AutoDelete();
void cancel();
+ operator Path() const { return path; }
};