From c4b51e0935f75d118164fab6bfcefc6ddf69867e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 22 Nov 2012 06:16:10 +0000 Subject: Tidy. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@4851 a436a847-0d15-0410-975c-d299462d15a1 --- raul/Path.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'raul/Path.hpp') diff --git a/raul/Path.hpp b/raul/Path.hpp index 867e2e3..ee8444a 100644 --- a/raul/Path.hpp +++ b/raul/Path.hpp @@ -17,6 +17,7 @@ #ifndef RAUL_PATH_HPP #define RAUL_PATH_HPP +#include #include #include "raul/Exception.hpp" @@ -148,7 +149,8 @@ public: } else { const size_t first_sep = find('/'); const size_t last_sep = find_last_of('/'); - return (first_sep == last_sep) ? Path("/") : Path(substr(0, last_sep)); + return (first_sep == last_sep) + ? Path("/") : Path(substr(0, last_sep)); } } -- cgit v1.2.1