diff --git a/base/application.cc b/base/application.cc index 6012e06..9e1f0dd 100644 --- a/base/application.cc +++ b/base/application.cc @@ -1,5 +1,6 @@ #include "base/application.h" +#include #include #include @@ -11,7 +12,7 @@ using namespace std; int application::run(int argc, char **argv) { - string cmd = basename(argv[0]); + string cmd = get_basename(argv[0]); if (cmd == string("pdata_tools")) { argc--; @@ -49,7 +50,7 @@ application::usage() } std::string -application::basename(std::string const &path) const +application::get_basename(std::string const &path) const { char buffer[PATH_MAX + 1]; diff --git a/base/application.h b/base/application.h index 8585129..d01eb36 100644 --- a/base/application.h +++ b/base/application.h @@ -41,7 +41,7 @@ namespace base { private: void usage(); - std::string basename(std::string const &path) const; + std::string get_basename(std::string const &path) const; std::list cmds_; };