diff options
-rw-r--r-- | opentrack-compat/options.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<typename t> using mem = std::shared_ptr<t>; +template<typename t> using ptr = std::unique_ptr<t>; +#include "make-unique.hpp" #define OPENTRACK_CONFIG_FILENAME_KEY "settings-filename" #define OPENTRACK_DEFAULT_CONFIG "default.ini" |