]> git.lizzy.rs Git - minetest.git/blobdiff - src/filecache.h
map.cpp: Initialize NodeNeighbor, set NeighborType to u8 & cleanup
[minetest.git] / src / filecache.h
index 627ab45edc147680132e9970d57df69e8955ff1e..96e4c8ba1b6c14a6f3d0ae8dad1304390755d01b 100644 (file)
@@ -18,8 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef FILECACHE_HEADER
-#define FILECACHE_HEADER
+#pragma once
 
 #include <iostream>
 #include <string>
@@ -41,5 +40,3 @@ class FileCache
        bool loadByPath(const std::string &path, std::ostream &os);
        bool updateByPath(const std::string &path, const std::string &data);
 };
-
-#endif