summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-01-23 19:35:38 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-01-23 19:35:38 +0000
commit03e16be646c559283fc0af205a70f7c57d7aa563 (patch)
tree60880311f21650007b57d4b09e3e6ff94927e926
parentSet cxxflags specifically, not cflags (diff)
downloadp2pvr-03e16be646c559283fc0af205a70f7c57d7aa563.tar.bz2
p2pvr-03e16be646c559283fc0af205a70f7c57d7aa563.tar.xz
p2pvr-03e16be646c559283fc0af205a70f7c57d7aa563.zip
Boost 1.63 compat fixp2pvr-0.1.5.2
-rw-r--r--p2pvr/p2comp/recordingStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2pvr/p2comp/recordingStream.cpp b/p2pvr/p2comp/recordingStream.cpp
index fc1687a..56f3e69 100644
--- a/p2pvr/p2comp/recordingStream.cpp
+++ b/p2pvr/p2comp/recordingStream.cpp
@@ -26,7 +26,7 @@ class RecordingStream : public StreamBase {
try {
auto range = getRange(ec);
if (!range) {
- range = { std::string(), 0, (unsigned long long)(storage->FileSize(recording(ec)) - 1) };
+ range = RangeResponse({ std::string(), 0, (unsigned long long)(storage->FileSize(recording(ec)) - 1) });
}
storage->Send(recording(ec), output, range->Start, range->End - range->Start + 1);
}