diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2013-01-14 22:05:23 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:48:44 +0300 |
commit | fa67eda1d5d1b9502469160c995d01be24ca2350 (patch) | |
tree | b6c211d290002f40acc78ed9de11aedaed31eaf3 /coding | |
parent | 56ec19061b7dcdc2ee9205597ec31dbd03f32636 (diff) |
[api] Added parsing of mwm:// scheme (synonym to mapswithme://)
Diffstat (limited to 'coding')
-rw-r--r-- | coding/uri.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coding/uri.hpp b/coding/uri.hpp index 305d34b566..bc98660e95 100644 --- a/coding/uri.hpp +++ b/coding/uri.hpp @@ -16,8 +16,8 @@ public: explicit Uri(string const & uri) : m_url(uri) { Init(); } Uri(char const * uri, size_t size) : m_url(uri, uri + size) { Init(); } - string GetScheme() const { return m_scheme; } - string GetPath() const { return m_path; } + string const & GetScheme() const { return m_scheme; } + string const & GetPath() const { return m_path; } bool IsValid() const { return !m_scheme.empty(); } void ForEachKeyValue(CallbackT const & callback) const; |