git repos / saland

commit b72d89f1

sago007 · 2017-05-13 20:48
b72d89f1d5bd7c57125ba55a684bf39cd6adcc59 patch · browse files
parent 2f45d9546f664f89b795e4f6db7d15a28c5cd3e8

Added static keyword

Changed files

M src/sago/SagoMisc.cpp before
diff --git a/src/sago/SagoMisc.cpp b/src/sago/SagoMisc.cpp index d91f6e8..fc0b960 100644 --- a/src/sago/SagoMisc.cpp +++ b/src/sago/SagoMisc.cpp
@@ -71,7 +71,7 @@ std::string GetFileContent(const char* filename) {
return ret;
}
-void CreatePathToFile(const std::string& path) {
+static void CreatePathToFile(const std::string& path) {
size_t end_of_path = path.find_last_of("/");
if (end_of_path == std::string::npos) {
//No path