From c2aed9d5af084c9399bc05e219b4702cfed1c276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 30 Jan 2012 01:38:14 +0100 Subject: [PATCH] Updated TypeTraits documentation, show all functions inline. --- src/TypeTraits.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/TypeTraits.h b/src/TypeTraits.h index b5b49ed5c..b7e9729df 100644 --- a/src/TypeTraits.h +++ b/src/TypeTraits.h @@ -59,7 +59,7 @@ template struct TypeTraits { * * Returns e.g. GL_UNSIGNED_INT for GLuint. */ - constexpr static GLenum glType(); + constexpr inline static GLenum glType(); /** * @brief Size of plain OpenGL type @@ -67,14 +67,14 @@ template struct TypeTraits { * Returns sizeof(GLfloat) for GLfloat, but also sizeof(GLfloat) for * Vector3. See count(). */ - constexpr static size_t size(); + constexpr inline static size_t size(); /** * @brief Count of plain elements in this type * * Returns 1 for plain OpenGL types like GLint, but e.g. 3 for Vector3. */ - constexpr static size_t count(); + constexpr inline static size_t count(); #endif };