summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2022-09-25 22:24:51 -0400
committer AJR <ajrhacker@users.noreply.github.com>2022-09-25 22:24:51 -0400
commita61cb4cb61c544241712dfb039817e7c7b72e3c0 (patch)
tree2550458998a8dfb6d00566ba337524f442f54dd2 /src/emu
parent60a3acb9705b7296fca190914f4c88650ec33de1 (diff)
mactoolbox.h: Move std::function template deduction guide to more accessible core header
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/devdelegate.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/emu/devdelegate.h b/src/emu/devdelegate.h
index 69381b2576b..5f7af89383b 100644
--- a/src/emu/devdelegate.h
+++ b/src/emu/devdelegate.h
@@ -21,6 +21,14 @@
#include <utility>
+// older versions of libc++ are missing deduction guides that the things using this constructor require
+#if defined(_LIBCPP_VERSION) && (_LIBCPP_VERSION < 10000)
+namespace std { inline namespace __1 {
+template<class R, class... ArgTypes > function( R(*)(ArgTypes...) ) -> function<R(ArgTypes...)>;
+} }
+#endif
+
+
namespace emu {
//**************************************************************************