summaryrefslogtreecommitdiffhomepage
path: root/compat/macros.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-18 19:35:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-18 19:35:29 +0100
commitd361f57c8064ce13a0478653050b169dc94e2e99 (patch)
tree73613b75bc4e6533455b6c3ad79c3fa39b8554fb /compat/macros.hpp
parent2ab18fd01bc7c46043429511a3801846b998c749 (diff)
compat/util: retire
Adjust usages.
Diffstat (limited to 'compat/macros.hpp')
-rw-r--r--compat/macros.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/compat/macros.hpp b/compat/macros.hpp
index d51bace7..766730db 100644
--- a/compat/macros.hpp
+++ b/compat/macros.hpp
@@ -71,7 +71,3 @@
# define unlikely(x) (x)
#endif
-#define progn(...) (([&]() { __VA_ARGS__ })())
-#define prog1(x, ...) (([&]() { auto _ret1324 = (x); do { __VA_ARGS__; } while (0); return _ret1324; })())
-
-#define once_only(...) do { static bool once__ = false; if (!once__) { once__ = true; __VA_ARGS__; } } while(false)