From 438d92079b85a9d2b32420f319e0ad1d7efacf17 Mon Sep 17 00:00:00 2001 From: Yuly Novikov Date: Mon, 29 Nov 2021 19:38:44 -0500 Subject: [PATCH] Fix MSVC C++17 build "std::unary_function" is deprecated in C++11 and removed in C++17 Components: OpenGL Change-Id: I96df678a518ab439e6e6d09e57bde90a2a034552 --- .../tessellation_shader/esextcTessellationShaderVertexSpacing.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/openglcts/modules/glesext/tessellation_shader/esextcTessellationShaderVertexSpacing.hpp b/external/openglcts/modules/glesext/tessellation_shader/esextcTessellationShaderVertexSpacing.hpp index 22eece2..1ea6fc8 100644 --- a/external/openglcts/modules/glesext/tessellation_shader/esextcTessellationShaderVertexSpacing.hpp +++ b/external/openglcts/modules/glesext/tessellation_shader/esextcTessellationShaderVertexSpacing.hpp @@ -279,7 +279,7 @@ private: /** Comparator that is used to compare two tessellation coordinates using FP value * equal operator. */ - struct _comparator_exact_tess_coordinate_match : public std::unary_function + struct _comparator_exact_tess_coordinate_match { /* Constructor. * -- 2.7.4