summaryrefslogtreecommitdiffstats
path: root/include/ingen/paths.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ingen/paths.hpp')
-rw-r--r--include/ingen/paths.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ingen/paths.hpp b/include/ingen/paths.hpp
index fefdf364..ad079390 100644
--- a/include/ingen/paths.hpp
+++ b/include/ingen/paths.hpp
@@ -32,10 +32,10 @@ inline bool uri_is_path(const URI& uri)
const size_t root_len = main_uri().string().length();
if (uri == main_uri()) {
return true;
- } else {
- return uri.string().substr(0, root_len + 1) ==
- main_uri().string() + "/";
}
+
+ return uri.string().substr(0, root_len + 1) ==
+ main_uri().string() + "/";
}
inline raul::Path uri_to_path(const URI& uri)