Skip to content

Commit d86fa2d

Browse files
ShaderSourceFactoryUtils.hpp: added missing inline
1 parent ebf9d70 commit d86fa2d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Graphics/GraphicsTools/interface/ShaderSourceFactoryUtils.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ inline RefCntAutoPtr<IShaderSourceInputStreamFactory> CreateMemoryShaderSourceFa
146146
return pFactory;
147147
}
148148

149-
RefCntAutoPtr<IShaderSourceInputStreamFactory> CreateMemoryShaderSourceFactory(const std::initializer_list<MemoryShaderSourceFileInfo>& Sources)
149+
inline RefCntAutoPtr<IShaderSourceInputStreamFactory> CreateMemoryShaderSourceFactory(const std::initializer_list<MemoryShaderSourceFileInfo>& Sources)
150150
{
151151
MemoryShaderSourceFactoryCreateInfoX CI{Sources};
152152
return CreateMemoryShaderSourceFactory(CI);
@@ -266,8 +266,8 @@ inline RefCntAutoPtr<IShaderSourceInputStreamFactory> CreateCompoundShaderSource
266266
return pFactory;
267267
}
268268

269-
RefCntAutoPtr<IShaderSourceInputStreamFactory> CreateCompoundShaderSourceFactory(const std::initializer_list<IShaderSourceInputStreamFactory*>& Factories,
270-
const std::initializer_list<ShaderSourceFileSubstitueInfo>& FileSubstitutes = {})
269+
inline RefCntAutoPtr<IShaderSourceInputStreamFactory> CreateCompoundShaderSourceFactory(const std::initializer_list<IShaderSourceInputStreamFactory*>& Factories,
270+
const std::initializer_list<ShaderSourceFileSubstitueInfo>& FileSubstitutes = {})
271271
{
272272
CompoundShaderSourceFactoryCreateInfoX CI{Factories, FileSubstitutes};
273273
return CreateCompoundShaderSourceFactory(CI);

0 commit comments

Comments
 (0)