From eaf2af64516d76bc24cae1023ebd59ada857c1b8 Mon Sep 17 00:00:00 2001 From: xantares Date: Sat, 8 May 2021 10:37:37 +0200 Subject: [PATCH] Dont export inline TObjectReflection::getType() Fixes mingw build Closes #2460 --- glslang/Public/ShaderLang.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glslang/Public/ShaderLang.h b/glslang/Public/ShaderLang.h index ff5c20c1..d2a4bf40 100644 --- a/glslang/Public/ShaderLang.h +++ b/glslang/Public/ShaderLang.h @@ -722,7 +722,7 @@ class TObjectReflection { public: GLSLANG_EXPORT TObjectReflection(const std::string& pName, const TType& pType, int pOffset, int pGLDefineType, int pSize, int pIndex); - GLSLANG_EXPORT const TType* getType() const { return type; } + const TType* getType() const { return type; } GLSLANG_EXPORT int getBinding() const; GLSLANG_EXPORT void dump() const; static TObjectReflection badReflection() { return TObjectReflection(); }