diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-03-31 16:19:33 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-03-31 17:08:00 -0700 |
commit | 77b07234762474b45ec902b556bb96e3a1057867 (patch) | |
tree | e6da8a03c461249ea17a3475194b1120124f5de4 /platform/darwin | |
parent | 23f2defadd7fbf9511c2a60f4e251bb179524081 (diff) | |
download | qtlocation-mapboxgl-77b07234762474b45ec902b556bb96e3a1057867.tar.gz |
[ios, osx, linux] Remove unused "applicationRoot" function
Diffstat (limited to 'platform/darwin')
-rw-r--r-- | platform/darwin/src/application_root.mm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/platform/darwin/src/application_root.mm b/platform/darwin/src/application_root.mm deleted file mode 100644 index d4702c7ec5..0000000000 --- a/platform/darwin/src/application_root.mm +++ /dev/null @@ -1,18 +0,0 @@ -#import <Foundation/Foundation.h> - -#include <mbgl/platform/platform.hpp> - -namespace mbgl { -namespace platform { - -// Returns the path to the root folder of the application. -const std::string &applicationRoot() { - static const std::string root = []() -> std::string { - NSString *path = [[[NSBundle mainBundle] resourceURL] path]; - return {[path cStringUsingEncoding : NSUTF8StringEncoding], - [path lengthOfBytesUsingEncoding:NSUTF8StringEncoding]}; - }(); - return root; -} -} -} |