diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/clover/util/compat.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/clover/util/compat.hpp b/src/gallium/state_trackers/clover/util/compat.hpp index eaae8c02940..a52a6af7a46 100644 --- a/src/gallium/state_trackers/clover/util/compat.hpp +++ b/src/gallium/state_trackers/clover/util/compat.hpp @@ -412,6 +412,15 @@ namespace clover { mutable vector<char> v; }; + template<typename T, typename S> + struct pair { + pair(T first, S second) : + first(first), second(second) {} + + S first; + T second; + }; + class exception { public: exception() {} |