[Mesa-dev] [PATCH] clover: use correct typenames for compat::pair's first/second

Emil Velikov emil.l.velikov at gmail.com
Mon Oct 20 01:56:42 PDT 2014


Seems to be a typo judging from the overall declaration of the
template.

Cc: EdB <edb+mesa at sigluy.net>
Cc: Francisco Jerez <currojerez at riseup.net>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gallium/state_trackers/clover/util/compat.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/state_trackers/clover/util/compat.hpp b/src/gallium/state_trackers/clover/util/compat.hpp
index a52a6af..735994f 100644
--- a/src/gallium/state_trackers/clover/util/compat.hpp
+++ b/src/gallium/state_trackers/clover/util/compat.hpp
@@ -417,8 +417,8 @@ namespace clover {
          pair(T first, S second) :
             first(first), second(second) {}
 
-         S first;
-         T second;
+         T first;
+         S second;
       };
 
       class exception {
-- 
2.1.0



More information about the mesa-dev mailing list