1 2 3 4 5 6 7 8 9
#include "utility.h" namespace { inline constexpr char kDefaultWorkingPath[] = "."; } // namespace std::string GetValidWorkingPath(const std::string& path) { return path.empty() ? kDefaultWorkingPath : path; }