Commits

rob...@16af8721-9629-0410-8352-f15c8da7e697  committed ba232bd Draft

Fixed spelling of FileNameComparator

  • Participants
  • Parent commits 0e962f8

Comments (0)

Files changed (1)

File src/osgPresentation/SlideShowConstructor.cpp

     return pictureQuad;
 }
 
-struct FileNameComparotor
+struct FileNameComparator
 {
     bool operator() (const std::string& lhs, const std::string& rhs) const
     {
     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<osg::ImageSequence> imageSequence = new osg::ImageSequence;