diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-10 12:25:55 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-10 12:25:55 +0200 |
commit | df02fbeb1650c3f757c4d463c8bfb5d208ab9da6 (patch) | |
tree | ad368e24b73f17758ac33af5e0b05fd2af29cfd6 /opentrack-compat/options.hpp | |
parent | 31ee772e33e7f46dd4734e3014699f56e8d2c517 (diff) |
compat/options: add progn macro
Diffstat (limited to 'opentrack-compat/options.hpp')
-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 077083b2..79cdc6e5 100644 --- a/opentrack-compat/options.hpp +++ b/opentrack-compat/options.hpp @@ -43,6 +43,8 @@ #include "export.hpp" #include "slider.hpp" +// just put them here for lack of util header +#define progn(...) ([&]() { __VA_ARGS__ }()) template<typename t> using mem = std::shared_ptr<t>; #define OPENTRACK_CONFIG_FILENAME_KEY "settings-filename" |