mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1119072, Part 16: Replace uses of hash_set with unodered_set (gfx), r=bas
--HG-- extra : rebase_source : 6fe532f999372f71b7e544231b4727c86aa34d70
This commit is contained in:
parent
b547c79f52
commit
f239d701ac
@ -12,7 +12,7 @@
|
||||
#include <fstream>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#include <hash_set>
|
||||
#include <unordered_set>
|
||||
#else
|
||||
#include <set>
|
||||
#endif
|
||||
@ -53,7 +53,7 @@ protected:
|
||||
virtual void Flush() = 0;
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
typedef stdext::hash_set<const void*> ObjectSet;
|
||||
typedef std::unordered_set<const void*> ObjectSet;
|
||||
#else
|
||||
typedef std::set<const void*> ObjectSet;
|
||||
#endif
|
||||
|
@ -14,11 +14,7 @@
|
||||
#include <vector>
|
||||
#include <sstream>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <hash_set>
|
||||
#else
|
||||
#include <unordered_set>
|
||||
#endif
|
||||
|
||||
struct IDWriteFactory;
|
||||
|
||||
@ -165,11 +161,7 @@ private:
|
||||
friend class AutoSaveRestoreClippedOut;
|
||||
friend class SourceSurfaceD2DTarget;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
typedef stdext::hash_set<DrawTargetD2D*> TargetSet;
|
||||
#else
|
||||
typedef std::unordered_set<DrawTargetD2D*> TargetSet;
|
||||
#endif
|
||||
|
||||
bool InitD2DRenderTarget();
|
||||
void PrepareForDrawing(ID2D1RenderTarget *aRT);
|
||||
|
@ -15,11 +15,7 @@
|
||||
#include <vector>
|
||||
#include <sstream>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <hash_set>
|
||||
#else
|
||||
#include <unordered_set>
|
||||
#endif
|
||||
|
||||
struct IDWriteFactory;
|
||||
|
||||
@ -154,11 +150,7 @@ public:
|
||||
private:
|
||||
friend class SourceSurfaceD2D1;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
typedef stdext::hash_set<DrawTargetD2D1*> TargetSet;
|
||||
#else
|
||||
typedef std::unordered_set<DrawTargetD2D1*> TargetSet;
|
||||
#endif
|
||||
|
||||
// This function will mark the surface as changing, and make sure any
|
||||
// copy-on-write snapshots are notified.
|
||||
|
Loading…
Reference in New Issue
Block a user