summaryrefslogtreecommitdiff
path: root/canvas/source/tools/spriteredrawmanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/tools/spriteredrawmanager.cxx')
-rw-r--r--canvas/source/tools/spriteredrawmanager.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/canvas/source/tools/spriteredrawmanager.cxx b/canvas/source/tools/spriteredrawmanager.cxx
index 72976c1a70ca..eeb4714ff992 100644
--- a/canvas/source/tools/spriteredrawmanager.cxx
+++ b/canvas/source/tools/spriteredrawmanager.cxx
@@ -233,7 +233,7 @@ namespace canvas
// in line with the problem of having sprite state available
// for the frame before the last frame; plus, it avoids
// frequent locks of the object mutices
- SpriteComparator aSpriteComparator;
+ SpriteWeakOrder aSpriteComparator;
// put all sprites that have changed content into update areas
ListOfSprites::const_iterator aCurrSprite( maSprites.begin() );
@@ -277,8 +277,7 @@ namespace canvas
VectorOfSprites::iterator aEnd=
::std::unique( aUpdatableSprites.begin(),
- aUpdatableSprites.end(),
- aSpriteComparator );
+ aUpdatableSprites.end() );
// for each unique sprite, check the change event vector,
// calculate the update operation from that, and add the