summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-06-05 12:15:27 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-06-14 11:13:43 -0700
commitd618d4a274023257988a91e96ecf794338189bf8 (patch)
tree71cdbf029ef7c36520be0efc7e18de68f3ebbbfb /include
parent212ae5273dc3930a035b51c603c540b4f02fa777 (diff)
downloadqtlocation-mapboxgl-d618d4a274023257988a91e96ecf794338189bf8.tar.gz
[core] Dynamic program compilation for data-driven properties
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index 8072eda7dd..bbeeeac6cc 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -44,7 +44,7 @@ public:
GLContextMode contextMode = GLContextMode::Unique,
ConstrainMode constrainMode = ConstrainMode::HeightOnly,
ViewportMode viewportMode = ViewportMode::Default,
- const std::string& programCacheDir = "");
+ const optional<std::string>& programCacheDir = {});
~Map();
// Register a callback that will get called (on the render thread) when all resources have