Skip to content

Commit

Permalink
Fix -Winstantiation-after-specialization on Apple LLVM 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mogemimi committed Jan 27, 2018
1 parent 12cee02 commit 0c2f2d5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/Content/AssetBuilders/PipelineStateBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ std::shared_ptr<PipelineState> Builder<PipelineState>::Impl::Load()
return pipelineState;
}

// explicit instantiations
template class Builder<PipelineState>;

Builder<PipelineState>::Builder(const Detail::AssetLoaderContext& contextIn)
: impl(std::make_unique<Impl>())
{
Expand Down
3 changes: 0 additions & 3 deletions src/Content/AssetBuilders/ShaderBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ Optional<std::string> IncludeGLSLFilesRecursive(

} // unnamed namespace

// explicit instantiations
template class Builder<Shader>;

class Builder<Shader>::Impl {
public:
std::reference_wrapper<Detail::AssetLoaderContext const> loaderContext;
Expand Down

0 comments on commit 0c2f2d5

Please sign in to comment.