Skip to content

Commit

Permalink
Fix gcc/clang build
Browse files Browse the repository at this point in the history
  • Loading branch information
flexferrum committed Jul 5, 2018
1 parent faedda1 commit e66205d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/template_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class TemplateImpl : public ITemplateImpl
else
intParams[ip.first] = newParam.get();
}
RendererCallback<CharT> callback;
RendererCallback callback;
RenderContext context(intParams, &callback);
OutStream outStream(
[this, &os](size_t offset, size_t length) {
Expand All @@ -69,7 +69,6 @@ class TemplateImpl : public ITemplateImpl
}
}

template<typename CharT>
class RendererCallback : public IRendererCallback
{
public:
Expand Down

0 comments on commit e66205d

Please sign in to comment.