Mercurial > libanimone
comparison src/fd/bsd.cc @ 12:52927e5118f9
dep/animone: header cleanup
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 08 May 2024 16:43:32 -0400 |
parents | f26b08274dcf |
children | 27b988a1048c |
comparison
equal
deleted
inserted
replaced
11:89adf9798083 | 12:52927e5118f9 |
---|---|
17 #elif defined(LIBUTIL) | 17 #elif defined(LIBUTIL) |
18 # include <libutil.h> | 18 # include <libutil.h> |
19 #endif | 19 #endif |
20 | 20 |
21 #include <string> | 21 #include <string> |
22 #include <iostream> | |
23 | 22 |
24 namespace animone::internal::bsd { | 23 namespace animone::internal::bsd { |
25 | 24 |
26 static std::string Basename(const std::string& name) { | 25 static std::string Basename(const std::string& name) { |
27 size_t s = name.find_last_of('/'); | 26 size_t s = name.find_last_of('/'); |