summaryrefslogtreecommitdiff
path: root/src/fs/LookupFile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/LookupFile.cxx')
-rw-r--r--src/fs/LookupFile.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/LookupFile.cxx b/src/fs/LookupFile.cxx
index 9cee68262..e2f4bfaac 100644
--- a/src/fs/LookupFile.cxx
+++ b/src/fs/LookupFile.cxx
@@ -22,8 +22,8 @@
#include "system/Error.hxx"
gcc_pure
-static PathTraitsFS::pointer_type
-FindSlash(PathTraitsFS::pointer_type p, size_t i) noexcept
+static PathTraitsFS::pointer
+FindSlash(PathTraitsFS::pointer p, size_t i) noexcept
{
for (; i > 0; --i)
if (p[i] == '/')
@@ -38,7 +38,7 @@ LookupFile(Path pathname)
PathTraitsFS::string buffer(pathname.c_str());
size_t idx = buffer.size();
- PathTraitsFS::pointer_type slash = nullptr;
+ PathTraitsFS::pointer slash = nullptr;
while (true) {
try {