summaryrefslogtreecommitdiff
path: root/src/mbgl/style/source.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-14 10:56:51 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-14 11:25:45 -0700
commit9d3c4fbbb05d37802ebc15210b041392b4d48f15 (patch)
tree2f4638ebcff4cc50a08c73ed6587a53c7014bcf0 /src/mbgl/style/source.hpp
parent9dfcb95e4fe333922306eadd4df5cbde2f03a6c1 (diff)
downloadqtlocation-mapboxgl-9d3c4fbbb05d37802ebc15210b041392b4d48f15.tar.gz
[core] Push Source::url down to subclasses
Diffstat (limited to 'src/mbgl/style/source.hpp')
-rw-r--r--src/mbgl/style/source.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mbgl/style/source.hpp b/src/mbgl/style/source.hpp
index 36e6570fb5..99d634a887 100644
--- a/src/mbgl/style/source.hpp
+++ b/src/mbgl/style/source.hpp
@@ -32,10 +32,7 @@ class SourceObserver;
class Source : public TileObserver, private util::noncopyable {
public:
- Source(SourceType,
- std::string id,
- std::string url,
- uint16_t tileSize);
+ Source(SourceType, std::string id, uint16_t tileSize);
~Source() override;
bool loaded = false;
@@ -71,7 +68,6 @@ public:
const SourceType type;
const std::string id;
- const std::string url;
uint16_t tileSize = util::tileSize;
bool enabled = false;