summaryrefslogtreecommitdiff
path: root/test/style/source.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/style/source.cpp')
-rw-r--r--test/style/source.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/style/source.cpp b/test/style/source.cpp
index d1944f3842..528059ae9f 100644
--- a/test/style/source.cpp
+++ b/test/style/source.cpp
@@ -240,7 +240,7 @@ TEST(Source, RasterTileCancel) {
test.fileSource.tileResponse = [&] (const Resource&) {
test.end();
- return Response();
+ return optional<Response>();
};
test.observer.tileLoaded = [&] (Source&, const TileID&, bool) {
@@ -267,7 +267,7 @@ TEST(Source, VectorTileCancel) {
test.fileSource.tileResponse = [&] (const Resource&) {
test.end();
- return Response();
+ return optional<Response>();
};
test.observer.tileLoaded = [&] (Source&, const TileID&, bool) {