diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-08-02 10:27:19 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-08-02 10:27:19 +0200 |
commit | c6dd17a1435db36eeaff24e40a7cc212ee7214a0 (patch) | |
tree | 15502debbc8827e3d917d6a498723abb40a3c73e /src/SimpleMustache.cc | |
parent | 9b6dc4d5d83f8acbd82459a0296eb256f632ea02 (diff) |
Using SimpleContext in SimpleMustache's setTemplate, as it reads from a Handle using readU8. We'll switch readU8 to use a Future.
Diffstat (limited to 'src/SimpleMustache.cc')
-rw-r--r-- | src/SimpleMustache.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SimpleMustache.cc b/src/SimpleMustache.cc index d2db99f..6f7acdc 100644 --- a/src/SimpleMustache.cc +++ b/src/SimpleMustache.cc @@ -116,6 +116,7 @@ void Balau::SimpleMustache::Context::empty(bool skipFirst) { static const Balau::Regex changing("^(.*) +(.*)$"); void Balau::SimpleMustache::setTemplate(IO<Handle> _h) { + Task::SimpleContext simpleContext; empty(); IO<BStream> h(new BStream(_h)); h->detach(); |