Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use std::multiset::iterator instead of std::set::iterator with std::m…

…ultiset.

Apparently, the iterators were compatible, in some library implementations.
  • Loading branch information...
commit 5b9a496b1a5dd3f1d63e0f035561bd750266d2da 1 parent c9fa97c
Cyp authored August 11, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/ivis_opengl/bitimage.cpp
2  lib/ivis_opengl/bitimage.cpp
@@ -66,7 +66,7 @@ inline void ImageMerge::arrange()
66 66
 	{
67 67
 		--r;
68 68
 
69  
-		std::set<ImageMergeRectangle>::iterator f = freeSpace.lower_bound(*r);  // Find smallest free rectangle which is large enough.
  69
+		std::multiset<ImageMergeRectangle>::iterator f = freeSpace.lower_bound(*r);  // Find smallest free rectangle which is large enough.
70 70
 		while (f != freeSpace.end() && (f->siz.x < r->siz.x || f->siz.y < r->siz.y))
71 71
 		{
72 72
 			++f;  // Rectangle has wrong shape.

0 notes on commit 5b9a496

Please sign in to comment.
Something went wrong with that request. Please try again.