From b1e21add06cbcaf2f32509239db586686e85d50d Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 9 Nov 2009 18:28:18 +0000 Subject: [PATCH] win32 --- panda/src/pnmimage/pnmImage.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/src/pnmimage/pnmImage.cxx b/panda/src/pnmimage/pnmImage.cxx index 2f857c5b9a..e7c7a59a2d 100644 --- a/panda/src/pnmimage/pnmImage.cxx +++ b/panda/src/pnmimage/pnmImage.cxx @@ -17,6 +17,7 @@ #include "pnmWriter.h" #include "pnmBrush.h" #include "config_pnmimage.h" +#include //////////////////////////////////////////////////////////////////// // Function: PNMImage::Constructor @@ -1124,7 +1125,7 @@ make_histogram(PNMImage::Histogram &histogram) { pixels.push_back(PixelSpecCount((*hi).first, (*hi).second)); } } - sort(pixels.begin(), pixels.end()); + ::sort(pixels.begin(), pixels.end()); histogram.swap(pixels, hist_map); }