aboutsummaryrefslogtreecommitdiffstats
path: root/src/Directory.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-07 22:04:19 +0100
committerMax Kellermann <max@duempel.org>2014-01-07 23:10:56 +0100
commitda80f91e1c1a02abce17159ed303c7666d68bf14 (patch)
tree1aad9c825941f2e4e06b28e2e0f6a03e7e67b572 /src/Directory.hxx
parentcc60d193ce55b1fb8180bf199002bf34c2bf2088 (diff)
downloadmpd-da80f91e1c1a02abce17159ed303c7666d68bf14.tar.gz
mpd-da80f91e1c1a02abce17159ed303c7666d68bf14.tar.xz
mpd-da80f91e1c1a02abce17159ed303c7666d68bf14.zip
Directory: make some code generic, move to VarSize.hxx
Diffstat (limited to 'src/Directory.hxx')
-rw-r--r--src/Directory.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Directory.hxx b/src/Directory.hxx
index 380a6b790..1ef4693e2 100644
--- a/src/Directory.hxx
+++ b/src/Directory.hxx
@@ -49,6 +49,10 @@ class SongFilter;
class Error;
struct Directory {
+ template<class T, typename... Args> friend T *
+ NewVarSize(size_t declared_tail_size, size_t real_tail_size,
+ Args&&... args);
+
/**
* Pointers to the siblings of this directory within the
* parent directory. It is unused (undefined) in the root