From 04a91303f9e05c2964c5936d74ee8183129b3fa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 22 May 2012 17:53:55 +0200 Subject: [PATCH] Don't delete templated function when no other overload is possible. The compiler will produce error anyway, because the body of the function is not implemented, only in explicit template specializations. Deleting the function would make sense if there was another function with the same name taking different argument, which is not this case anyway. --- src/Query.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Query.h b/src/Query.h index 3a34e4ec3..e89fea6af 100644 --- a/src/Query.h +++ b/src/Query.h @@ -59,7 +59,7 @@ class MAGNUM_EXPORT AbstractQuery { * * @requires_gl33 Extension ARB_timer_query (64bit integers) */ - template T result() = delete; + template T result(); protected: GLuint query; /**< @brief OpenGL internal query ID */