Fix MSVC C++17 build
authorYuly Novikov <ynovikov@google.com>
Tue, 30 Nov 2021 00:38:44 +0000 (19:38 -0500)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 6 Jan 2022 23:56:20 +0000 (23:56 +0000)
"std::unary_function" is deprecated in C++11 and removed in C++17

Components: OpenGL

Change-Id: I96df678a518ab439e6e6d09e57bde90a2a034552

external/openglcts/modules/glesext/tessellation_shader/esextcTessellationShaderVertexSpacing.hpp

index 22eece2..1ea6fc8 100644 (file)
@@ -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<float, bool>
+       struct _comparator_exact_tess_coordinate_match
        {
                /* Constructor.
                 *