From fc4aeac75b93ab31bc1e5bd2e82a71781259c316 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 16 Jun 2012 09:08:05 +0000 Subject: [PATCH] Fixed spelling of FileNameComparator --- src/osgPresentation/SlideShowConstructor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgPresentation/SlideShowConstructor.cpp b/src/osgPresentation/SlideShowConstructor.cpp index 6a58062eb..9220e8386 100644 --- a/src/osgPresentation/SlideShowConstructor.cpp +++ b/src/osgPresentation/SlideShowConstructor.cpp @@ -857,7 +857,7 @@ osg::Geometry* SlideShowConstructor::createTexturedQuadGeometry(const osg::Vec3& return pictureQuad; } -struct FileNameComparotor +struct FileNameComparator { bool operator() (const std::string& lhs, const std::string& rhs) const { @@ -982,7 +982,7 @@ osg::Image* SlideShowConstructor::readImage(const std::string& filename, const I else { // make sure images are in alphabetical order. - std::sort(filenames.begin(), filenames.end(), FileNameComparotor()); + std::sort(filenames.begin(), filenames.end(), FileNameComparator()); osg::ref_ptr imageSequence = new osg::ImageSequence;