aboutsummaryrefslogtreecommitdiff
path: root/c/util.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-23 02:16:10 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-23 02:16:10 +0200
commite2eaf362ba1b48b1518e1193ca2ae2a8e6e65efa (patch)
tree620e219289c434ddc6371d2a112ac2e8bfe759d8 /c/util.h
parent3962b1bdfb2a8a2e3a5ff4f4e51a61b0c44f2e6b (diff)
downloadEpisodeBrowser-e2eaf362ba1b48b1518e1193ca2ae2a8e6e65efa.tar.gz
Reimplement SelectUnwatched.
Diffstat (limited to 'c/util.h')
-rw-r--r--c/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/util.h b/c/util.h
index c08050d..7c2b293 100644
--- a/c/util.h
+++ b/c/util.h
@@ -23,6 +23,7 @@ inline int Cmp(const int a, const int b)
return -1;
}
+/* Generic RAII type. */
template <typename T, auto F, typename U, auto E = 0>
struct Managed
{