From 7d24efd16dac4899de7a51268cde255aed1d3d77 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 27 Jun 2009 17:54:03 -0500 Subject: [8080] Portability fixes for some Unix platforms. Author: VladimirMangos * Add #include to some fiels where related functions call. * Avoid template dependent lookup for fields in class LockedQueue. --HG-- branch : trunk --- src/shared/vmap/CoordModelMapping.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/shared/vmap/CoordModelMapping.h') diff --git a/src/shared/vmap/CoordModelMapping.h b/src/shared/vmap/CoordModelMapping.h index c1f49462962..7684bf1b373 100644 --- a/src/shared/vmap/CoordModelMapping.h +++ b/src/shared/vmap/CoordModelMapping.h @@ -75,12 +75,7 @@ namespace VMAP const std::string getKeyString() const; inline const G3D::Array& getFilenames() const { return(iFilenames); } - static const std::string getKeyString(unsigned int pMapId, int pXPos, int pYPos) - { - char b[100]; - sprintf(b,"%03u_%d_%d", pMapId, pXPos, pYPos); - return(std::string(b)); - } + static const std::string getKeyString(unsigned int pMapId, int pXPos, int pYPos); }; -- cgit v1.2.3