diff options
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r-- | src/libutil/util.hh | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh index f3f0f92a0..ab43637a5 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -117,15 +117,6 @@ void createSymlink(const Path & target, const Path & link); void replaceSymlink(const Path & target, const Path & link); -template<class T, class A> -T singleton(const A & a) -{ - T t; - t.insert(a); - return t; -} - - /* Wrappers arount read()/write() that read/write exactly the requested number of bytes. */ void readFull(int fd, unsigned char * buf, size_t count); |