summaryrefslogtreecommitdiff
path: root/project2/compression/decompressStream.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-28 14:24:04 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-28 14:24:04 +0100
commit1a7b43c875227527bf180066354f6c3d6515d5cb (patch)
tree7d9364adb554b2bd5f1ea5701be82923e04e0793 /project2/compression/decompressStream.cpp
parentFix throw in destructors (diff)
downloadproject2-1a7b43c875227527bf180066354f6c3d6515d5cb.tar.bz2
project2-1a7b43c875227527bf180066354f6c3d6515d5cb.tar.xz
project2-1a7b43c875227527bf180066354f6c3d6515d5cb.zip
C++17 and Ice 3.7project2-1.3.0
Updates all code to work with C++17 and Ice 3.7 and related updates in used libraries.
Diffstat (limited to 'project2/compression/decompressStream.cpp')
-rw-r--r--project2/compression/decompressStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/compression/decompressStream.cpp b/project2/compression/decompressStream.cpp
index 7d4023b..3af4a45 100644
--- a/project2/compression/decompressStream.cpp
+++ b/project2/compression/decompressStream.cpp
@@ -10,7 +10,7 @@ class DecompressStream : public Stream {
Stream(p),
method(p, "method")
{
- p->script->loader.addLoadTarget(p, Storer::into<StreamFactory>(&stream));
+ p->script.lock()->loader.addLoadTarget(p, Storer::into<StreamFactory>(&stream));
}
void runStream(const Sink & sink, ExecContext * ec) const