summaryrefslogtreecommitdiff
path: root/include/llmr/style/property_fallback.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-07-16 18:53:56 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-07-16 18:53:56 -0700
commit4ea281c750c5afcc68f2832bb42d98a1cbce6735 (patch)
tree60bc7d3ccba2c54859e2e023997cc027cc67aea7 /include/llmr/style/property_fallback.hpp
parentc1a64dc5fa73b54cc5de77629781dfc74302a1e7 (diff)
downloadqtlocation-mapboxgl-4ea281c750c5afcc68f2832bb42d98a1cbce6735.tar.gz
rename llmr => mbgl
Diffstat (limited to 'include/llmr/style/property_fallback.hpp')
-rw-r--r--include/llmr/style/property_fallback.hpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/include/llmr/style/property_fallback.hpp b/include/llmr/style/property_fallback.hpp
deleted file mode 100644
index eb6bb15c9c..0000000000
--- a/include/llmr/style/property_fallback.hpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef LLMR_STYLE_PROPERTY_FALLBACK
-#define LLMR_STYLE_PROPERTY_FALLBACK
-
-#include <llmr/style/property_key.hpp>
-#include <llmr/style/property_value.hpp>
-
-#include <map>
-
-namespace llmr {
-
-class PropertyFallbackValue {
-public:
- static const PropertyValue &Get(PropertyKey key) {
- auto it = properties.find(key);
- if (it != properties.end()) {
- return it->second;
- } else {
- return defaultProperty;
- }
- }
-
-private:
- static const std::map<PropertyKey, PropertyValue> properties;
- static const PropertyValue defaultProperty;
-};
-
-}
-
-#endif