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

Francisco Jerez currojerez at riseup.net
Mon Oct 20 02:31:43 PDT 2014


Emil Velikov <emil.l.velikov at gmail.com> writes:

> 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>

Thanks,
Reviewed-by: Francisco Jerez <currojerez at riseup.net>

> ---
>  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141020/fdac2d71/attachment-0001.sig>


More information about the mesa-dev mailing list