From cdacaf690a48a3cc1549d9c6e57de2100dc1fc21 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 10 Aug 2016 15:39:32 +0200 Subject: compat/options: add here unique_ptr defs --- opentrack-compat/options.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'opentrack-compat/options.hpp') diff --git a/opentrack-compat/options.hpp b/opentrack-compat/options.hpp index 79cdc6e5..78699f63 100644 --- a/opentrack-compat/options.hpp +++ b/opentrack-compat/options.hpp @@ -46,6 +46,8 @@ // just put them here for lack of util header #define progn(...) ([&]() { __VA_ARGS__ }()) template using mem = std::shared_ptr; +template using ptr = std::unique_ptr; +#include "make-unique.hpp" #define OPENTRACK_CONFIG_FILENAME_KEY "settings-filename" #define OPENTRACK_DEFAULT_CONFIG "default.ini" -- cgit v1.2.3