summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-10 09:22:20 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-10 09:22:25 +0200
commit50a78e613567c44c415c2ebc294089ff1e60493f (patch)
tree7872f8a43231cbcebd8f235b4a910adc67069b9e /compat
parent2a1392281193183c39dbd4f1d4a1cb5d1d529ad4 (diff)
compat/util: remove macro and typedefs
Diffstat (limited to 'compat')
-rw-r--r--compat/util.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/compat/util.hpp b/compat/util.hpp
index cd0dbdef..c0d3e3fd 100644
--- a/compat/util.hpp
+++ b/compat/util.hpp
@@ -20,14 +20,6 @@
#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)
-#define load_time_value(x) \
- progn( \
- static const auto _value132((x)); \
- return static_cast<decltype(_value132)&>(value132); \
- )
-
-template<typename t> using mem = std::shared_ptr<t>;
-template<typename t> using ptr = std::unique_ptr<t>;
template<typename t>
inline int iround(const t& val)