diff --git a/tools/geometryc/geometryc.cpp b/tools/geometryc/geometryc.cpp index 6e85f979..2157e050 100644 --- a/tools/geometryc/geometryc.cpp +++ b/tools/geometryc/geometryc.cpp @@ -13,7 +13,9 @@ #include #include #include -#include +#include +#include +namespace stl = tinystl; #include @@ -79,7 +81,7 @@ struct Index3 int32_t m_vertexIndex; }; -typedef std::unordered_map Index3Map; +typedef stl::unordered_map Index3Map; struct Triangle { @@ -478,7 +480,7 @@ int main(int _argc, const char* _argv[]) uint64_t hash2 = uint64_t(index.m_normal)<<40; uint64_t hash = hash0^hash1^hash2; - std::pair result = indexMap.insert(std::make_pair(hash, index) ); + stl::pair result = indexMap.insert(stl::make_pair(hash, index) ); if (!result.second) { Index3& oldIndex = result.first->second;