Skip to content

Commit

Permalink
ShaderSourceFactoryUtils.hpp: added missing inline
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Jan 20, 2024
1 parent ebf9d70 commit d86fa2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Graphics/GraphicsTools/interface/ShaderSourceFactoryUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ inline RefCntAutoPtr<IShaderSourceInputStreamFactory> CreateMemoryShaderSourceFa
return pFactory;
}

RefCntAutoPtr<IShaderSourceInputStreamFactory> CreateMemoryShaderSourceFactory(const std::initializer_list<MemoryShaderSourceFileInfo>& Sources)
inline RefCntAutoPtr<IShaderSourceInputStreamFactory> CreateMemoryShaderSourceFactory(const std::initializer_list<MemoryShaderSourceFileInfo>& Sources)
{
MemoryShaderSourceFactoryCreateInfoX CI{Sources};
return CreateMemoryShaderSourceFactory(CI);
Expand Down Expand Up @@ -266,8 +266,8 @@ inline RefCntAutoPtr<IShaderSourceInputStreamFactory> CreateCompoundShaderSource
return pFactory;
}

RefCntAutoPtr<IShaderSourceInputStreamFactory> CreateCompoundShaderSourceFactory(const std::initializer_list<IShaderSourceInputStreamFactory*>& Factories,
const std::initializer_list<ShaderSourceFileSubstitueInfo>& FileSubstitutes = {})
inline RefCntAutoPtr<IShaderSourceInputStreamFactory> CreateCompoundShaderSourceFactory(const std::initializer_list<IShaderSourceInputStreamFactory*>& Factories,
const std::initializer_list<ShaderSourceFileSubstitueInfo>& FileSubstitutes = {})
{
CompoundShaderSourceFactoryCreateInfoX CI{Factories, FileSubstitutes};
return CreateCompoundShaderSourceFactory(CI);
Expand Down

0 comments on commit d86fa2d

Please sign in to comment.