Show
Ignore:
Timestamp:
01/11/10 17:03:13 (4 years ago)
Author:
robert
Message:

Added desctructor with jas_cleanup().

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/jp2/ReaderWriterJP2.cpp

    r10939 r10940  
    177177            supportsExtension("jp2","Jpeg2000 image format"); 
    178178            supportsExtension("jpc","Jpeg2000 image format"); 
    179          
     179 
    180180            // little dance here to get around warnings created by jas_image_strtofmt use of char* rather than const char* 
    181181            // as a parameted and modern compilers deprecating "jp2" string being treated as char*. 
     
    187187        } 
    188188 
     189        ~ReaderWriterJP2() 
     190        { 
     191            jas_cleanup(); 
     192        } 
     193 
    189194        virtual const char* className() const { return "RGB Image Reader/Writer"; } 
    190          
     195 
    191196        virtual ReadResult readObject(const std::string& file, const osgDB::ReaderWriter::Options* options) const 
    192197        {