From 77d9773d37d839bfcdb049ba16db897e83beefd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 21 Feb 2013 20:50:04 +0100 Subject: [PATCH] Removed linkage of AbstractShaderProgram::Attribute::Location. It now doesn't appear in symbol lists, avoiding nasty linker issues. --- src/AbstractShaderProgram.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/AbstractShaderProgram.h b/src/AbstractShaderProgram.h index 3fd055743..cf2abb445 100644 --- a/src/AbstractShaderProgram.h +++ b/src/AbstractShaderProgram.h @@ -320,8 +320,9 @@ class MAGNUM_EXPORT AbstractShaderProgram { */ template class Attribute { public: - /** @brief Location to which the attribute is bound */ - static const GLuint Location = location; + enum: GLuint { + Location = location /**< Location to which the attribute is bound */ + }; /** * @brief Type