]> git.lizzy.rs Git - minetest.git/blobdiff - src/map.h
Optimize usage of TOSERVER_GOTBLOCKS packet
[minetest.git] / src / map.h
index 7ef34b2792c72638128e49d87ca1d4b90bc44497..251ac297fa8e5f3304b5d2cd8949611d34f46bc2 100644 (file)
--- a/src/map.h
+++ b/src/map.h
@@ -389,7 +389,7 @@ class ServerMap : public Map
                Misc. helper functions for fiddling with directory and file
                names when saving
        */
-       void createDirs(std::string path);
+       void createDirs(const std::string &path);
        // returns something like "map/sectors/xxxxxxxx"
        std::string getSectorDir(v2s16 pos, int layout = 2);
        // dirname: final directory name