mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
replace set/map with boost::unordered_* to reduce the number of expensive filesystem::basic_path::operator< calls based on a patch by ortalo (thanks!)
This was SVN commit r8947.
This commit is contained in:
@@ -121,6 +121,8 @@ class CTextureProperties
|
||||
{
|
||||
friend class CTextureManagerImpl;
|
||||
friend struct TextureCacheCmp;
|
||||
friend struct TPequal_to;
|
||||
friend struct TPhash;
|
||||
|
||||
public:
|
||||
/**
|
||||
@@ -180,6 +182,8 @@ class CTexture
|
||||
{
|
||||
friend class CTextureManagerImpl;
|
||||
friend struct TextureCacheCmp;
|
||||
friend struct TPequal_to;
|
||||
friend struct TPhash;
|
||||
|
||||
// Only the texture manager can create these
|
||||
explicit CTexture(Handle handle, const CTextureProperties& props, CTextureManagerImpl* textureManager);
|
||||
@@ -187,6 +191,7 @@ class CTexture
|
||||
NONCOPYABLE(CTexture);
|
||||
|
||||
public:
|
||||
|
||||
~CTexture();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user