summaryrefslogtreecommitdiffstats
path: root/raul/URI.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'raul/URI.hpp')
-rw-r--r--raul/URI.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/URI.hpp b/raul/URI.hpp
index 5967609..7642aaf 100644
--- a/raul/URI.hpp
+++ b/raul/URI.hpp
@@ -74,7 +74,7 @@ public:
std::string chop_scheme() const { return chop_start(":"); }
/** Return the URI scheme (everything before the first ':') */
- inline std::string name() const { return substr(0, find(":")); }
+ inline std::string scheme() const { return substr(0, find(":")); }
inline const std::string& str() const { return *this; }
inline const char* c_str() const { return str().c_str(); }