summaryrefslogtreecommitdiff
path: root/src/SimpleMustache.cc
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-02 10:28:37 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-02 10:28:37 +0200
commit07f5a2245d7c15dfb6d716e307d2618a498886d9 (patch)
treeb68f8f80adb4e69f61d2ffb698e953311db1693c /src/SimpleMustache.cc
parent11e1cea6667467b2fa5b5791c86b64444420a16a (diff)
Switching Handle's readU8() to be a Future, and using it in SimpleMustache.
Diffstat (limited to 'src/SimpleMustache.cc')
-rw-r--r--src/SimpleMustache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SimpleMustache.cc b/src/SimpleMustache.cc
index 6f7acdc..eef4b01 100644
--- a/src/SimpleMustache.cc
+++ b/src/SimpleMustache.cc
@@ -149,7 +149,7 @@ void Balau::SimpleMustache::setTemplate(IO<Handle> _h) {
bool beginning = false;
while (!h->isEOF()) {
- uint8_t c = h->readU8();
+ uint8_t c = h->readU8().get();
switch (state) {
case PLAIN:
if (c != srtMarker[0]) {